Skip to content

Latest commit

 

History

History
 
 

dojo

Bower Sample application

======

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.

Requirements

Usage

  • npm install -g bower - installs bower
  • npm install - installs required node and bower packages
  • npm run clean - removes built files from dist directory
  • npm 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.

Additional tools

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.

Notes

For details on the Dojo build system, review the Dojo documentation.