Home

Awesome

Mithril 1.1 Simple App Tutorial

Typescript version adapted from: https://mithril.js.org/simple-application.html

Uses types from DefinitelyTyped on npm (@types/mithril)

Install:

npm install

Start localhost server, compile JS & CSS, watch for changes:

npm start

Then go to http://localhost:3000/ in your browser.

Build minified:

npm run build

Outputs to public/js/app.js and public/css/app.js