readme updated for npm installation (#2303)

* readme updated for npm installation

* change request
This commit is contained in:
Saravyas 2018-11-19 13:27:12 +05:30 committed by Isiah Meadows
parent bf1afa06fd
commit d66b7f6c0d

View file

@ -33,9 +33,8 @@ Browsers all the way back to IE9 are supported, no polyfills required 👌.
```
### npm
```bash
$ npm install mithril
$ npm install mithril --save
```
The ["Getting started" guide](https://mithril.js.org/#getting-started) is a good place to start learning how to use mithril.