This project is an accompanying git repository to the blog post Dynamic Angular Configuration.
The conventional Angular approach of compiling configuration into the build image forces you to create a separate build for every environment that you support. This repo follows a different approach and loads the configuration at runtime. See Dynamic Angular Configuration for more details.
Run npx ng generate component component-name
to generate a new component. You can also use npx ng generate directive|pipe|service|class|guard|interface|enum|module
.
Run npx ng build
to build the project. The build artifacts will be stored in the dist/
directory.
Run npx ng test
to execute the unit tests via Karma.
Run npx ng e2e
to execute the end-to-end tests via a platform of your choice. To use this command, you need to first add a package that implements end-to-end testing capabilities.
To get more help on the Angular CLI use npx ng help
or go check out the Angular CLI Overview and Command Reference page.
This project is Copyright (C) by Guido Flohr https://www.guido-flohr.net/ but that should not stop you to do with it whatever you want to, see LICENSE for all the gory details.