N
Nuxt7mo ago
vinum

Sharing components between projects using Nuxt 3

What would be the easiest way to acheive this? I own a business making websites for customers in Nuxt 3, and have some components i would like to share with each and every project, together with being able to update the code so that it reflects on all the websites if i update it. I also want some api routes to be shared where it uses the ENV. Is this acheivable? Maybe using a private github repo or something? Thanks in advance.
2 Replies
RicharDVD
RicharDVD7mo ago
Nuxt
Layers · Get Started with Nuxt
Nuxt provides a powerful system that allows you to extend the default files, configs, and much more.
vinum
vinumOP7mo ago
Wow looks cool! Thanks! But am I able to make api routes using layers? I would like to have a api that uses the ENV variables to function in every project Nvm looks like i can! Thank you so very much.
Want results from more Discord servers?
Add your server