tomwayson / esri-angular-cli-example

Example of how to to use the ArcGIS API for JavaScript in an Angular CLI app
https://tomwayson.github.io/esri-angular-cli-example
29 stars 23 forks source link

Use angular-cli's pattern for installing global libraries? #20

Closed tomwayson closed 7 years ago

tomwayson commented 7 years ago

Maybe we should do this: https://github.com/angular/angular-cli#global-library-installation instead of manually placing those tags in index.html

tomwayson commented 7 years ago

Guess it depends on when those get loaded (before/after bundles). Also, still have to modify index.html to require() bundles, so don't know if it's really any advantage to do this.

tomwayson commented 7 years ago

Actually, b/c we're using esri-loader to load the ArcGIS API, we don't "have to modify index.html to require() bundles", nor do we need to configure angular-cli to load the library.