From 435abbd9837f4a360faef958865c98aea897a95f Mon Sep 17 00:00:00 2001 From: Sachin Philip Mathew Date: Mon, 3 Dec 2018 10:57:45 +0530 Subject: [PATCH] updated docs for es-modules with addision of css --- README.md | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/README.md b/README.md index 9d844f4..d2ce1a0 100644 --- a/README.md +++ b/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