Skip to content

Latest commit

 

History

History
27 lines (20 loc) · 1.22 KB

README.md

File metadata and controls

27 lines (20 loc) · 1.22 KB

Brunch + Babel/ES6 + Mithril + Material Design Lite

This is a modern JS skeleton for Brunch with Mithril and Material Design Lite included.

What is included

  • JSX transpilation
  • ESLint linting
  • Mithril and Material Design Lite (with font and icons)

Installation

Clone this repo manually or use brunch new <dir> -s ilsenem/brunch-with-mithril-material.

Getting started

  • Install (if you don't have them):
    • Node.js: brew install node on OS X
    • Brunch: npm install -g brunch
    • Brunch plugins and app dependencies: npm install
  • Run:
    • npm start — watches the project with continuous rebuild. This will also launch HTTP server with pushState.
    • npm build — builds minified project for production
  • Learn:
    • public/ dir is fully auto-generated and served by HTTP server. Write your code in app/ dir.
    • Place static files you want to be copied from app/assets/ to public/.
    • Brunch site, Getting started guide