Building Micro Frontends LiveProject
- node >=14
npm install
installs the dependencies at root level. This one is a prerequisite for all the other scripts.
npm run install:all
installs all the dependencies in all the Micro Frontends and Bootstrap.
npm run dev:welcome
is used to develop the welcome
Micro Frontend.
It starts a web server and watches changes in the /welcome
folder.
npm run dev:music
is used to develop the music
Micro Frontend.
It starts a web server and watches changes in the /music
folder.
npm run dev:bootstrap
is used to develop boostrap
.
It builds welcome
and music
Micro Frontends first, then it runs in parallel server.js
and bootstrap
build watching its files.