Open sooxt98 opened 5 years ago
Vue & Cli version: All latest :P
Latest as of when? This is why we explicitely request version numbers. Otherwise it's not helpful.
I cannot reproduce this with a brand new repo. Care to send a repro link? (git repo, CodeSandbox would be awesome)
@SolarLiner https://github.com/sooxiaotong/vue-cli-3-prerender-spa-plugin-demo here is my repo.
Still can't reproduce, sorry. Output is a-ok on my end.
Seems wierd 😂
same, confusing now
Looks like this comes from those lines
@sooxiaotong, this plugin expects slash at the end in render routes path.
For example:
renderRoutes: ['/', '/about/']
Then plugin create folder about with index.html.
I looked for this for a while. It's a big difference in behavior. I wish it was documented, if it is I missed it somehow. Thank you so much. Great work.
Damn. I've been looking for HOURS for this problem. Finally!
The about page should but output as
about > index.html
instead of putting the about.html on the same directory with index.html