Open anming-john opened 4 years ago
i wrote the config like this
configureWebpack: { plugins: [ new PrerenderSPAPlugin({ staticDir: path.join(__dirname, "dist"), routes: ["/"] }) ]
and, i npm run build and i got that in index.html
npm run build
<title>Error</title> </head> <body> <pre>Error: ENOENT: no such file or directory, stat '/some/project/dist/index.html'</pre> </body></html>
how can i make it work ?
same question
Same here, trying to use this with vue-cli3
Same. I'm trying to use this with Angular9 + @angular-builders/custome-webpack.
Same here
Same here, still no solution?
same
i wrote the config like this
and, i
npm run build
and i got that in index.htmlhow can i make it work ?