======
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 are interested in building the Sass files included in the Bower release of the API, please refer to this document.
We have also included a gulpfile
if that is your build tool of choice. Just run gulp
to start the build.
And just to demonstrate that it can be done, we've included a makefile
so you can build the demo application using the make
command.
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.