Download the boilerplate
- RequireJS as AMD module loader
This is just the standard setup. You may substitute Underscore with Lodash, jQuery with Zepto and RequireJS with different other AMD module loaders like Curl.
The boilerplate comes in four flavours:
- CoffeeScript code, if you develop your application in CoffeeScript
- Brunch skeleton, if you prefer using Brunch and synchronous common.js modules.
The boilerplate contains the necessary files which inherit from the core Chaplin class.
Integrating Chaplin into Rails 3