Skip to content

Latest commit

 

History

History
19 lines (16 loc) · 1.05 KB

File metadata and controls

19 lines (16 loc) · 1.05 KB

Mithril-1-with-ES6-Classes-Example

Example of Mithril 1 with ES6 Classes

Getting started

  • Install (if you don't have them):

    • Node.js (Version: 7.9.x): brew install node on OS X
    • Brunch: npm install -g brunch
    • Brunch plugins and app dependencies: npm install
  • Run:

    • brunch watch --server — watches the project with continuous rebuild. This will also launch HTTP server with pushState.
    • Now you can see the app in the url: http://localhost:3333
    • brunch build --production — builds minified project for production
  • Learn: