Can I have a page with the root "/" endpoint that isn't named "index.vue"? #123
-
I simply want a landing page to be name something other than index.vue because I'm trying reserve the "/index/" prefix for routes under an index folder. In my case, "/index/" will be authenticated routes. Something like "home.vue" will be accessed at "/" And "index.vue" will use the index folder and all of it's subpages for "/index" or "/index/subpage" |
Beta Was this translation helpful? Give feedback.
Answered by
posva
Jan 24, 2023
Replies: 1 comment
-
You can override the |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
hotsaucejake
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
You can override the
path
with the route block ordefinePage({ path: '...' })