We recommend using lineman
It offers several handy features for front-end development:
npm install -g https://github.com/pulilab/lineman/zipball/master
This installs the lineman command.
For browser auto-reloading, you should install a livereload extension
To start a new project
lineman new <project_name>
This generates our preferred directory structure in the app directory.
To serve it for your browser run
lineman run
To run your tests run
lineman spec
Lineman supports underscore and handlebars templates. Handlebars templates should have one of the following file extensions:
The generated and served files are in the generated directory. If you have some mysterious problem, you should check out the generated files first.
Use lineman’s builtin features. See the Tooling section above for details.
We recommend using one of the following JS frameworks:
Moreover, we have a continuously growing collection of articles to read.