Guess my turn to ask regarding prerender-spa-plugin in Vue App.
I wanted to assigned rendered routed page HTMLs from /dist
folder into subfolders such as following format:
/dist/
- index.html
- /pages/
- about.html
- contact.html
As now, my about.html
and contact.html
are rendered at dist
instead, together with index.html
My SPA prerender snippet for vue.config.js
as below
pluginOptions: {
prerenderSpa: {
registry: undefined,
renderRoutes: [
'/',
'/about'
'/contact',
],
useRenderEvent: true,
headless: true,
onlyProduction: true,
},
So how i can achieve my rendering as format above? I kinda figure renderedRoute
is something i need to deal with. Thank you in advance (_ _ ;)