This is a HTML5 application, built with Brunch and some npm preseted packages.
- Install (if you don't have them):
- Run:
npm start— watches the project with continuous rebuild. This will also launch HTTP server with pushState.npm run build— builds minified project for production
- Learn:
public/dir is fully auto-generated and served by HTTP server. Write your code inapp/dir.- Place static files you want to be copied from
app/assets/topublic/. - Brunch site, Getting started guide
This skeleton has custom project structure: you can use coffeescript, sass and handlebars the following way:
- All pages located in
app/pages - All partials located and loaded from
app/partials - You can define template layouts in
app/layouts.
These files must end with
.static.hbsextension.
You can read more information about static files in html-brunch-static project.