A battery-included template for using AngularJS and ChlorineJS
CSS Shell
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
less
src
target
test
.gitignore
README.md
package.json
profile.cl2
testem.json

README.md

Angular-cl2-seed

A battery-included template for using AngularJS and ChlorineJS. Bootstrap customization, font-awesome and unit tests are ready to use.

Usage

Install dependencies

npm install
# install front-end stuff with bower
# https://github.com/twitter/bower
cd target
bower install

Live coding

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

Bootstrap

A simple blue bootstrap theme is included. You can customize it with the /less directory.