N
Nuxt5mo ago
ethan!

Pages directory

If i want to create a page specific component do i have to use the components folder? like there's no way to create the component in the pages directory with the page itself
13 Replies
manniL
manniL5mo ago
Not by default You can check layers
manniL
manniL5mo ago
Nuxt Enterprise Patterns: Component Management
Discover an alternative to the standard all-in-one components folder with Nuxt 3.
ethan!
ethan!OP5mo ago
thanks, how would i take this approach with components too?
ethan!
ethan!OP5mo ago
e.g
No description
ethan!
ethan!OP5mo ago
@manniL / TheAlexLichter
manniL
manniL5mo ago
Not sure I understand the question
ethan!
ethan!OP5mo ago
am i able to structure my components like i did in the image and still get the auto imports feature? since if i make an index.vue file, nuxt wont be able to find the auto import @manniL / TheAlexLichter i’m sorry for the pings i kinda need this bug fixed ;-;
manniL
manniL5mo ago
not sure which bug you mean you can choose freely how to use, import and name your components 🙂
ethan!
ethan!OP5mo ago
i mean for auto imports it’s not detecting my components because they’re called index.vue
manniL
manniL5mo ago
that works fine for me
manniL
manniL5mo ago
No description
ethan!
ethan!OP5mo ago
is it because of my core folder?
ethan!
ethan!OP5mo ago
No description
Want results from more Discord servers?
Add your server