gflohr / dynamic-angular-configuration

dynamic-angular-configuration

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

DynamicAngularConfiguration

This project is an accompanying git repository to the blog post Dynamic Angular Configuration.

Description

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.

Code scaffolding

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.

Build

Run npx ng build to build the project. The build artifacts will be stored in the dist/ directory.

Running unit tests

Run npx ng test to execute the unit tests via Karma.

Running end-to-end tests

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.

Further help

To get more help on the Angular CLI use npx ng help or go check out the Angular CLI Overview and Command Reference page.

Copyright

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.

About

dynamic-angular-configuration

License:Other


Languages

Language:TypeScript 92.3%Language:HTML 6.7%Language:CSS 1.0%