I am using spa-prerender-plugin in Vue.js and everything works fine.
However, I would like to pre-render my 404 page as well which in Vue goes like:
{
path: '*',
name: 'FourOhFour',
component: FourOhFour
}
Using the plugin, I would like to add the 404 as such:
routes: ['/', '/contact', '*'],
But on trying this, I get:
ERROR in [prerender-spa-plugin] Unable to prerender all routes!
Thank you.