Getting Started - mitzerh/modulr-js GitHub Wiki
Including the Modul R file
You can choose from two flavors, the minified or unminified version of the file. They are found on the js/
folder.
js/modulr.js
js/modulr.min.js
The latest stable release will always be tagged, found on Home.
Recommended Folder Structure
When just starting, this is a recommended folder structure for creating a package of your application.
Demo @ https://github.com/mitzerh/ModulR/tree/master/demo/js/basic:
basic/
- app/
+ models/
+ modules/
- main.js
- bootstrap.js
Check out the demo/js/package
for an example of creating multiple packages @ https://github.com/mitzerh/ModulR/tree/master/demo/js/package:
From this demo sample, there are 3 separate packages: globals
, plugins
, and site
.
Also, packages do not need to be on the same folder level, they can be anywhere. This is just for demo purposes.