This is a sample Single Spa application integrating AngularJs and Angular 12 applications as micro frontends.
-
Install the npm package http-server globally using
npm i -g http-server
-
Run
http-server .
in the main folder to host the app in port 8080 -
Go to angular-app folder and run
npm i
-
Run command
npm run build:single-spa:angular-app
to build the Angular 12 app. -
Go to dist/angular-app folder and run command
http-server . --cors --port=8081
-
Open App in browser.