A simple Mithril application using ES6 modules for structure and future compatibility. All code is compiled to be ES5 compatible using Browserify and Babel.
To begin, install the NPM dependencies.
npm install -g gulp
npm install
Then run:
gulp serve
This will compile all the code an start a local web service. Visit http://localhost:8080 in your browser.
This is an example application attempting to structure Mithril, or any micro JS framework, into a large single-page application that scales.
Challenges include:
- Determining global state and configuration (FLUX-like).
- Storing data models and forming relationships.
- Accommodating complex UI/UX designs.
Contribute at will! 👍