N
Nuxt7mo 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
manniL7mo ago
Not by default You can check layers
manniL
manniL7mo ago
Nuxt Enterprise Patterns: Component Management
Discover an alternative to the standard all-in-one components folder with Nuxt 3.
ethan!
ethan!OP7mo ago
thanks, how would i take this approach with components too?
ethan!
ethan!OP7mo ago
e.g
No description
ethan!
ethan!OP7mo ago
@manniL / TheAlexLichter
manniL
manniL7mo ago
Not sure I understand the question
ethan!
ethan!OP7mo 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
manniL7mo ago
not sure which bug you mean you can choose freely how to use, import and name your components 🙂
ethan!
ethan!OP7mo ago
i mean for auto imports it’s not detecting my components because they’re called index.vue
manniL
manniL7mo ago
that works fine for me
manniL
manniL7mo ago
No description
ethan!
ethan!OP7mo ago
is it because of my core folder?
ethan!
ethan!OP7mo ago
No description
Want results from more Discord servers?
Add your server