Home

Awesome

Polythene for Mithril with TypeScript setup example

Minimal setup example how to create a Polythene app for Mithril.

Setup

Init:

npm install

Start development server (port 3000):

npm run dev

Build:

npm run build

View with gzip compression:

http-server -g -p 8080 dist/

You may need to install http-server:

npm install -g http-server

See also