spa-prerender
v1.0.5
Published
Prerenders static HTML in a single-page application.
Downloads
5
Readme
SPA Prerender
This SPA pre-render base on prender-spa-plugin, support multiple SPA pre-render
var SPAPrerender = require('spa-prerender');
var spr = new SPAPrerender( path.join(__dirname, './dist'), [{ entry: 'index.html', routes: ['/', '/about'] }]);
spr.build()
.then()
.catch();