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

Did you find this page helpful?