Skip to content

yoeran/mithril-webpack-starter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Mithril Webpack Starter

This starter is based on Peter Morawiec's elm-webpack-starter

About:

A simple Webpack setup for writing Mithril apps:

  • Dev server with live reloading, HMR
  • Support for CSS/SCSS (with Autoprefixer), image assets
  • Bundling and minification for deployment
  • Lints all your JS before allowing you to push your code (skip this by adding --no-verify to your push command, not recommended though)

Serve locally:

npm start
  • Access app at http://localhost:8080/
  • Get coding! The entry point file is src/bootstrap.jsx
  • Browser will refresh automatically on any file changes..

Build & bundle for prod:

npm run build
  • Files are saved into the /dist folder
  • To check it, open dist/index.html

About

Webpack setup for writing Mithril apps

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published