mithril js
mithril 官网教程
npm init --y
npm install mithril --save
npm install webpack --save-dev
Open the package.json that you created earlier, and add an entry to the scripts section:
{
"name": "my-project",
"scripts": {
"start": "webpack src/index.js bin/app.js -d --watch"
}
}