I have project structure like this
- pages
- login.vue
- index.vue
auth
- about.vue
by default, nuxt can access a path with 'localhost:3000/' and it will rendered by /pages/index.vue
in case if i want to access a page in dir auth/about it's must be access a path
'localhost:3000/auth/about'
but i want to access path with 'localhost:3000/about
CodePudding user response:
could be accessed via either /about
or /auth/about
.