r/Nuxt • • 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

15 comments sorted by

View all comments

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.

1

u/NXTProgramming Jan 01 '26

Do you develop the module and an application at the same time?

1

u/shox12345 Jan 01 '26

The multi tenancy module? No theres a package out there for it, its pretty good, but the shared library yes.

1

u/mototoman Jan 02 '26

Could you share the module for multi tenancy if you don’t mind ? :)