Reputation: 1
I am creating a Nuxt.js frontend/Express backend environment that will house multiple "sub" applications, for instance the structure currently looks like -
\-APP
\--Backend
\---public
\---routes
\---index.js
\--Frontend
\---components
\----App1Components
\----App2Components
\----App3Components
\----SharedComponents
\---layouts
\---pages
\----App1
\----App2
\----App3
\---nuxt.config.js
I want to be able to use the shared components within multiple apps, however when I want to publish App1, I want to only publish the changes in App1.
How do I separate these apps correctly on the deployment?
I know that this probably something that needs to be done in the nuxt.config.js or package.json files, but I do not know what to do.
Upvotes: 0
Views: 218