Skip to content
Snippets Groups Projects

Et fe replace env.js with angular environments

Merged Reid Givens requested to merge ET-FE-replace-env.js-with-angular-environments into main
17 files
+ 90
121
Compare changes
  • Side-by-side
  • Inline
Files
17
+ 5
3
@@ -26,11 +26,13 @@ Run `ng e2e` to execute the end-to-end tests via [Protractor](http://www.protrac
To get more help on the Angular CLI use `ng help` or go check out the [Angular CLI README](https://github.com/angular/angular-cli/blob/master/README.md).
## Archive Config
## Environment Config
Configuration variables can be set in the env.js file located next to the index.html file. These variables will be loaded into the angular app through the EnvService.
Configuration variables can be set in `src/environments` directory.
The env.js file can be modified without having to rebuild the application.
To use a configuration in a build, run `ng build --c=production` or `ng build --c=test`.
To use a configuration locally, run `ng serve --c=production` or `ng serve --c=test`.
## Search Filters
Loading