Skip to content

IronManCool001/mithriljs-webpack-template

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

mithriljs-webpack-template

This is a webpack template for mithriljs that uses jsx. Demo URL:https://mithriljs-webpack-template-demo.netlify.app/

Install

Run yarn install or npm i to install the dependencies

Dev

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.

Build

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