dojo Getting started with dojo Installation or Setup


Example

Use Dojo from CDN

Load Dojo through <script> tags in your HTML page pointing to Google CDN.

Example:

<script src="//ajax.googleapis.com/ajax/libs/dojo/1.11.2/dojo/dojo.js"></script>

Install Dojo with Bower

Type the following command in your project directory:

bower install dojo/dojo dojo/dijit dojo/dojox dojo/util

Bower installs to a bower_components sub-directory by default, but if you'd like to install to the current directory instead add a .bowerrc with the following:

{
    "directory": "."
}