updated docs for es-modules with addision of css
This commit is contained in:
parent
81cddd45a3
commit
435abbd983
@ -50,6 +50,13 @@
|
|||||||
import { Chart } from "frappe-charts"
|
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
|
* ...or include within your HTML
|
||||||
|
|
||||||
```html
|
```html
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user