diff --git a/docs/index.html b/docs/index.html index c0e32ca..dc11660 100644 --- a/docs/index.html +++ b/docs/index.html @@ -272,6 +272,8 @@ redirect_to: "https://frappe.io/charts"
npm install frappe-charts
And include it in your project
import { Chart } from "frappe-charts"
+ (for ES6+ import the ESModule from the dist folder)
+ import { Chart } from "frappe-charts/dist/frappe-charts.esm.js"
... or include it directly in your HTML
<script src="https://unpkg.com/frappe-charts@1.1.0"></script>
Use as: