Same as store example, however the plugins are loaded dynamically from the web, instead of being bundled with the application. This allows to update the plugins without rebuilding the application.
Same as the store example, with the addition of:
- We remove the Finance and International plugins from the package (see
package.json) - Native federation framework is added (see
package.json) - Angular build is modified to support external modules loading through Federation (see
angular.json) - Finance and International Plugins are loaded from internet (see
src/config-manager/config-manager.service.ts)
To start a local development server, run:
ng serve storeOnce the server is running, open your browser and navigate to http://localhost:4200/. The application will automatically reload whenever you modify any of the source files.
To build the project run:
ng buildThis will compile your project and store the build artifacts in the dist/ directory. By default, the production build optimizes your application for performance and speed.
To execute unit tests with the Karma test runner, use the following command:
ng test