This repository demonstrates the use of single-spa as a top-level router and module orchestrator with webpack module federation used as an alternative to SystemJS
-
Within the
shell,react-nav-appandreact-appdirectories, run:npm i npm run start
-
Within the
angular-appdirectory, run:yarn install npm run start
Note that you must use yarn as your package manager for the
angular-app, it allows you to override the webpack dependencies for the CLI. Theangular-app/package.jsoncontains the following section to override webpack to use version 5 instead of 4:"resolutions": { "webpack": "5.0.0" },
-
Access the application at http://localhost:8080