Awesome
#RequireJS
These are some examples using RequireJS to load Javascript on demand
Requirements
These are the basic requirements for your application:
RequireJS v2.1+
Git
bower v1.3+
node v0.10+
grunt-cli v0.1+
Install && Run
-
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
Directory 01 && 02
- Surf through the directories
01
&&02
with the console opened.
Directory 03
-
To view the directory
03
, first of all you'll need install the dependencies. -
Go to directory
cd 03
and install them:npm i
-
Execute grunt default task:
grunt
Directory 04
-
To view the directory
04
, first of all you'll need install the dependencies. -
Go to directory
cd 04
and install them:npm i
-
Execute grunt default task:
grunt
Made with love by Gabriel Zigolis!