An SPA (single page application) build with mithril.js
see the live demo here
- Boiler plate for new mithril.js app
- provide simple example of how to build an SPA with mithril.js
- Mithril.js for VDOM manipulation, page routing and rendering
- Tachyons for granular styling. see: tachyons.io
- FontAwesome for icons see: FontAwesome
- Webpack for javascript development server and bundling. This boilerplate already include configured setup for bundling css, images, svg, font etc, and aloe a development server for live reloading.
- Install latest NodeJS. Version 8.9.1 LTS is recommended
Open terminal and run these commands
- Install the packages
$ npm install
- live reload development
$ npm run start:dev
-
build the app
these commands will bundle all javascript source and assets(css, images, fonts) into single app.js file. The output will reside in
/dist/
folder
$ npm run build
Create ticket for any questions and issues. Thank you.
2017 @erdivartanovich email me