Rather than index.vue, is it possible to use the name of the folder as the file also #447
-
One of the things that gets annoying is all the index.vue files.... I'd much prefer in folder user, that user.vue would be equivalent of index.vue Is this possible to do at the moment? |
Beta Was this translation helpful? Give feedback.
Answered by
posva
Jul 15, 2024
Replies: 1 comment
-
you could rewrite the paths with the I think the feature you are looking for is route groups: #448, it would allow you to name the file |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
posva
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
you could rewrite the paths with the
beforeWriteFiles
option but I would recommend you not to do so.I think the feature you are looking for is route groups: #448, it would allow you to name the file
(user).vue
without affecting the route structure