A battery-included template for using AngularJS and ChlorineJS. Bootstrap customization, font-awesome and unit tests are ready to use.
npm install
# install front-end stuff with bower
# https://github.com/twitter/bower
cd target
bower install
Have your files watched and auto-compiled:
npm run-script watch
This will watch for changes and re-compile *.cl2
files to Javascript.
Now open an other terminal, run testem:
npm run-script livetest
You may want not only unit tests but also the final HTML file to reload on update. Tools like nodefront is for you:
# install nodefront if you haven't
npm install -g nodefront
cd target
nodefront serve -l/--live
A simple blue bootstrap theme is included. You can customize it with the /less
directory.