- Install the dependencies
$ yarn
- Run the individual micro-apps
$ yarn watch:portal
- Then start the
root
application$ yarn portal
- Brwose to http://localhost:9000.
-
$ yarn watch:portal
: builds each app asumd (webpack output)
module withsingle-spa
as middleware to be consumed by thesingle-spa
root app, any changes to the ap are automatically detected. -
$ yarn build:portal
: builds a release bundle (outputs all contents to a folder) of the app asumd (webpack output)
module that you can then serve from the production server.