Polythene for Mithril with TypeScript setup example

March 16, 2020 ยท View on GitHub

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

  • Setup of Polythene for Mithril
  • Setup of Polythene for React

Contents

  1. 1Setup
  2. 2See also