You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
after i add this plugin to my pervious pro by useing 'vue add prerender-spa-plugin'.
i followed the prompts ervery step. i think the generated configuration is also correct as bellow.
//...vue.config.js
// main.js
But something different from custom pro is that mine is not right in the root dir at my backend pro.
I have to set my publicPath to '/v5/',maybe thi caused the issue. this is my publicPath configuration bellow
Describe the bug
after i add this plugin to my pervious pro by useing 'vue add prerender-spa-plugin'.
i followed the prompts ervery step. i think the generated configuration is also correct as bellow.
//...vue.config.js
// main.js
But something different from custom pro is that mine is not right in the root dir at my backend pro.
I have to set my publicPath to '/v5/',maybe thi caused the issue. this is my publicPath configuration bellow
publicPath: process.env.NODE_ENV === 'development' ? '/' : '/v5/',
then i got my dist Dir like this:
My login.html is under in the v5 Dir. And I missed my index.html,too.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
A clear and concise description of what you expected to happen.
Screenshots
If applicable, add screenshots to help explain your problem.
Additional context
Package version: X.X.X
Vue version: 2.6.X
Vue CLI version: 4.2.3
The text was updated successfully, but these errors were encountered: