Organize folders?

Hey. I would like to know if there's any way of keeping that profile.vue and profile together? Since we are forced to use this kinda x.vue + x-folder/index.vue setup to use nested <NuxtPage />
No description
5 Replies
eyJOdnJHb25uYSI6Imd2VXVwIn0=
All I can find, is that other meta frameworks have something like this where folders in brackets get treated as being one level below. aka. pages/(Profile)/** -> pages/**
No description
Unknown User
Unknown User13mo ago
Message Not Public
Sign In & Join Server To View
eyJOdnJHb25uYSI6Imd2VXVwIn0=
It happened! Thanks Nuxt Team 😍 https://nuxt.com/blog/v3-13#%EF%B8%8F-route-groups
Nuxt
Nuxt 3.13 · Nuxt Blog
Nuxt 3.13 is out - porting back some of the new features we're building for Nuxt 4!
saltytostitos
saltytostitos5mo ago
Move your profile.vue into /profile as an index.vue file
/profile/index.vue
/profile/index.vue
(just saw Bric's reply!)
wypratama
wypratama4mo ago
As far as i know there is. profile.vue will be like parent wrapper for each of page under your profile folder and you just have to put <nuxt-page/> inside it to render each route.
Want results from more Discord servers?
Add your server