Test Data:
- Create the root home page component in pages folder ,named it as: index.vue
Steps:
- start nuxt server, then go to page : http://localhost:3000/
- go to page : http://localhost:3000/index
Expected result:
- For step2 it should render the same page content as step1, go to path
/
Actual result:
- For step2 it will show as 404 exception:
404
This page could not be found.
URI Path: /index
Back to the home page
I don't want to create a new folder called index
at the root pages ,any help for this ?
thanks .
<!--cmty--><!--cmty_prevent_hook--><div align="right"><sub><em>This question is available on <a href="https://nuxtjs.cmty.io">Nuxt.js</a> community (<a href="https://nuxtjs.cmty.io/nuxt/nuxt.js/issues/c1232">#c1232</a>)</em></sub></div>