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