NuxtN
Nuxt15mo ago
Dobby

Advice for following a better architecture?

Hi, I'm looking for some advice on what other ways there are to handle a more scalable architecture.

Currently, I'm trying to do a module-based approach (like other frameworks - even though I lost some features like auto-import and other things). However, I'm still thinking what would be the best approach to handle more complex and scalable architectures (instead of dropping all my components inside the /components directory or placing them inside a directory in the /components directory). I know there are /layers, but I found that when I want to access other layers from another layer (i.e. shared module -> /shared/components), I have to explicitly write to include that layer.

I don't know if there is anyone with enough experience or knowledge in this scenario. Maybe just use /components/[module]/? I don't know 🤔
Screenshot_2024-10-11_at_9.31.17_AM.png
Was this page helpful?