fix merge

This commit is contained in:
Leo Horie 2017-01-03 10:47:35 -05:00
parent 2f73e9d01d
commit 33fb63a72b

View file

@ -38,10 +38,6 @@ npm run build
open index.html
```
The source file `index.js` will be compiled (bundled) and a browser window opens showing the result.
Any changes in the source files will instantly get recompiled and the
browser will refresh reflecting the changes.
#### Step by step
For production-level projects, the recommended way of installing Mithril is to use NPM.
@ -166,6 +162,8 @@ npm install budo -g
npm start
```
The source file `index.js` will be compiled (bundled) and a browser window opens showing the result. Any changes in the source files will instantly get recompiled and the browser will refresh reflecting the changes.
#### Mithril bundler
Mithril comes with a bundler tool of its own. It is sufficient for projects that have no other dependencies other than Mithril, but it's currently considered experimental for projects that require other NPM dependencies. It produces smaller bundles than webpack, but you should not use it in production yet.