This repository has been archived by the owner. It is now read-only.

Problem using esri library w/ angular-cli #16

Closed
vivekimsit opened this Issue Jul 1, 2016 · 4 comments

Comments

Projects
None yet
2 participants
@vivekimsit

vivekimsit commented Jul 1, 2016

Hi,

I am trying to load with angular-cli but no luck, it can't find esri module, can you please help me to identify where top put the dependencies.

@pavlos256 pavlos256 referenced this issue in angular/angular-cli Jul 1, 2016

Closed

Problem using esri library. #1260

@tomwayson

This comment has been minimized.

Show comment
Hide comment
@tomwayson

tomwayson Jul 1, 2016

Owner

I have not tried angular-cli yet, but I would suspect that at the very least you'd have to modify the webpack.config.js as follows:

  1. Exclude esri/dojo modules
  2. Specify 'amd' as the target module format
Owner

tomwayson commented Jul 1, 2016

I have not tried angular-cli yet, but I would suspect that at the very least you'd have to modify the webpack.config.js as follows:

  1. Exclude esri/dojo modules
  2. Specify 'amd' as the target module format

@tomwayson tomwayson changed the title from Problem using esri library. to Problem using esri library w/ angular-cli Oct 18, 2016

@tomwayson

This comment has been minimized.

Show comment
Hide comment
@tomwayson

tomwayson Nov 13, 2016

Owner

You can see an example of how to use the ArcGIS API for JavaScript in an angular-cli project here: https://github.com/tomwayson/angular-cli-esri

Owner

tomwayson commented Nov 13, 2016

You can see an example of how to use the ArcGIS API for JavaScript in an angular-cli project here: https://github.com/tomwayson/angular-cli-esri

@tomwayson tomwayson removed the help wanted label Nov 15, 2016

@tomwayson

This comment has been minimized.

Show comment
Hide comment
@tomwayson

tomwayson Nov 29, 2016

Owner

More info about how the above project works is available here: http://tomwayson.com/2016/11/27/using-the-arcgis-api-for-javascript-in-applications-built-with-webpack/

I'm going to close this issue as I have no intent to use angular-cli in this repo and there are other ways to use to use the ArcGIS API w/ angular-cli.

Owner

tomwayson commented Nov 29, 2016

More info about how the above project works is available here: http://tomwayson.com/2016/11/27/using-the-arcgis-api-for-javascript-in-applications-built-with-webpack/

I'm going to close this issue as I have no intent to use angular-cli in this repo and there are other ways to use to use the ArcGIS API w/ angular-cli.

@tomwayson tomwayson closed this Nov 29, 2016

@tomwayson

This comment has been minimized.

Show comment
Hide comment
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.