Mithril / Webpack / Typescript / SASS Example

May 7, 2017 ยท View on GitHub

This repo has 3 branches. Use git checkout [branchname] to use one of the following:

  • master Mithril, Webpack, Typescript, SASS
  • postcss Mithril, Webpack, Typescript, PostCSS
  • sass-postcss Mithril, Webpack, Typescript, SASS & PostCSS

Note that each branch has different dependencies, so you may need to re-run npm install when switching branches.

Installation:

npm install
  • editorconfig VSCode extension
  • eslint VSCode extension
  • tslint VSCode extension
  • stylelint VSCode extension

Start:

npm start

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

Build minified

npm run build

Outputs to the public directory.

References