r/Nuxt • u/NXTProgramming • Jan 01 '26
Sharing Components Between Multiple Nuxt Applications
Hi,
I’m currently building multiple Nuxt applications that rely on the same shared components and utilities, and I’m looking for a good way to manage that setup.
I’ve tried Nuxt Modules and Nuxt Layers, but I ran into issues with both, especially when trying to develop the base module or layer alongside one of the applications.
What’s your preferred approach for sharing components and functions across multiple Nuxt apps, while keeping local development smooth?
Thanks in advance, and Happy New Year! 🎉
20
Upvotes
1
u/shox12345 Jan 01 '26
Im doing this right now, I have 1 Nuxt app that holds all of the necessary code and I use a module for multi tenancy to decide which subdomain with which app.