Просмотр исходного кода

updated docs for es-modules with addision of css

tags/1.2.0
Sachin Philip Mathew 6 лет назад
Родитель
Сommit
435abbd983
1 измененных файлов: 7 добавлений и 0 удалений
  1. +7
    -0
      README.md

+ 7
- 0
README.md Просмотреть файл

@@ -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



Загрузка…
Отмена
Сохранить