We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Originally posted by Pentadome February 25, 2025 In the following example, users.create.vue won't be nested in users.vue
users.create.vue
users.vue
src/pages/ ├── users/ │ ├── [id].vue │ └── index.vue ├── users.vue └── users.create.vue
However, if i try the following:
src/pages/ ├── users/ │ └── [id].vue ├── users.vue └── users.index.vue
users.index.vue will still be nested in users.vue.
users.index.vue
I also tried:
src/pages/ ├── users/ │ └── [id].vue ├── users.vue └── UsersHome.vue
with
definePageMeta({ path: '/users })
but this didn' work either.
In other words, is it possible to get something like this with file based routing?
routes: [ { path: "/users/:username", children: [ { path: "", component: UserHome }, { path: "", component: User, children: [ { path: "profile", component: UserProfile }, { path: "posts", component: UserPosts } ] } ] } ]
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Discussed in #589
Originally posted by Pentadome February 25, 2025
In the following example,
users.create.vue
won't be nested inusers.vue
However, if i try the following:
users.index.vue
will still be nested inusers.vue
.I also tried:
with
but this didn' work either.
In other words, is it possible to get something like this with file based routing?
The text was updated successfully, but these errors were encountered: