This is a webpack template for mithriljs that uses jsx. Demo URL:https://mithriljs-webpack-template-demo.netlify.app/
Run yarn install
or npm i
to install the dependencies
use
yarn dev
or npm run dev
To start webpack in development mode,you will also need to run a http server seperately in the directory to view the result.
Running yarn build
or npm run build
will generate the bundle in production in the dist folder and then you can deploy the folder to a hosting service