Build app1 and app2 as lib
The UMD files will be automaticly copied into the /public folder of the main app to be serve by the dev server of the main app.
cd app1
npm run lib
cd ../app2
npm run lib
Run the main app
cd ../main
npm run serve
Build app1 and app2 as lib
The UMD files will be automaticly copied into the /public folder of the main app to be serve by the dev server of the main app.
cd app1
npm run lib
cd ../app2
npm run lib
Run the main app
cd ../main
npm run serve