Skip to content

Latest commit

 

History

History
31 lines (20 loc) · 614 Bytes

README.md

File metadata and controls

31 lines (20 loc) · 614 Bytes

Simple RequireJS Setup Example

This a collection of files that demo how to use AMD modules using Require.js

Requirements

  1. Node.js

Run

  1. Just clone or download.
  2. Open cmd prompt or terminal here.
  3. Run the following,
npm start

Sit back and relax. This will install the dependencies, build the files, start a small local server and even open the browser for you.

Build

The project also demonstrates bundling of resorces using r.js.

Use the following command to build the files. (npm start does it automatically)

npm run build

Licence

MIT Licence.