Skip to content

stivenson/Mithril-1-with-ES6-Classes-Example

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

13 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

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: