updated docs for es-modules with addision of css

This commit is contained in:
Sachin Philip Mathew 2018-12-03 10:57:45 +05:30
parent 81cddd45a3
commit 435abbd983

View File

@ -49,6 +49,13 @@
```js
import { Chart } from "frappe-charts"
```
...or include following for es-modules(eg:vuejs):
```js
import { Chart } from 'frappe-charts/dist/frappe-charts.esm.js'
// import css
import 'frappe-charts/dist/frappe-charts.min.css'
```
* ...or include within your HTML