Provides build systems for .mustache files. Requires hulk (via hogan.js).
With the Package Control plugin: The easiest way to install this package is through Package Control, which can be found at this site: http://wbond.net/sublime_packages/package_control
- Install Pyhon
- Install NodeJS
- Install npm(NodeJS Package Manager)
- Install hogan.js via npm
npm install -g hogan.js
sudo apt-get install node-legacy npm; sudo npm install -g hogan.js
- Open a mustache file
- Select Hogan as Build System Tools > Build System > Hogan
- Compile a .mustache file (Ctrl-B)
- See compiled js file in the same directory
Note: You must add Hogan-X.js at the base of the project. See https://github.com/twitter/hogan.js/tree/master/web/builds
You can access templates with templates variable in your javascript files