This is a sample application showing how to use Bower to build your ArcGIS API for JavaScript application. It provides a Gruntfile for build scenario using Dojo.
- node & npm
- bower
- java 7 or greater - for Closure Compiler used during build
npm install -g bower
- installs bowernpm install
- installs required node and bower packagesnpm run clean
- removes built files fromdist
directorynpm run build
- run the Dojo build on application
If you have Python you can run python -m SimpleHTTPServer
in same folder as application to run it in a browser.
For details on the Dojo build system, review the Dojo documentation.