tomwayson / esri-angular-cli-example

Example of how to to use the ArcGIS API for JavaScript in an Angular CLI app

Home Page:https://tomwayson.github.io/esri-angular-cli-example

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

tomwayson opened this issue · comments

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

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.

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.