Tag: javascript

Pacharapol Withayasakpunt Pacharapol Withayasakpunt
Mon 2 March 2020

I don't know non-JavaScript-based Static Site Generators do it, but JS-based, like Gatsby, Nuxt, or Gridsome can prevent reloading and show transition between pages on location.pathname changes.

True SPA like Vue can do it too, but on first load, you can hasten JavaScript by using prerender-spa-plugin.

I have just create an SPA with history mode router in vanilla JS, but I do use a bundler (Rollup).



Rollup + TypeScript + Pug + SASS template with no plan for JavaScript frameworks, whatsoever - patarapolw/minimal-rollup-ts-pug-sass-template