#RequireJS
These are some examples using RequireJS to load Javascript on demand
These are the basic requirements for your application:
RequireJS v2.1+Gitbower v1.3+node v0.10+grunt-cli v0.1+
-
Clone the source from github:
git clone https://github.com/zigolis/JSOnDemand.git -
Go to
JSOnDemand:cd JSOnDemand -
Download dependencies by bower:
bower install -
Install the node http-server:
npm i http-server -g -
Start node server:
http-server -
Open the browser and go to localhost:
127.0.0.1:8080
- Surf through the directories
01&&02with the console opened.
-
To view the directory
03, first of all you'll need install the dependencies. -
Go to directory
cd 03and install them:npm i -
Execute grunt default task:
grunt
-
To view the directory
04, first of all you'll need install the dependencies. -
Go to directory
cd 04and install them:npm i -
Execute grunt default task:
grunt
Made with love by Gabriel Zigolis!