update docs
This commit is contained in:
parent
87ea03af19
commit
17955256d4
@ -32,12 +32,12 @@
|
||||
```console
|
||||
$ npm install frappe-charts
|
||||
```
|
||||
|
||||
|
||||
and include in your project:
|
||||
```js
|
||||
import Chart from "frappe-charts"
|
||||
import Chart from "frappe-charts/dist/frappe-charts.min.esm"
|
||||
```
|
||||
|
||||
|
||||
* ...or include within your HTML
|
||||
|
||||
```html
|
||||
@ -84,5 +84,5 @@ If you want to contribute:
|
||||
This repository has been released under the [MIT License](LICENSE)
|
||||
|
||||
------------------
|
||||
Made with ♥ by [pratu16x7](https://github.com/pratu16x7). Awesome logo by [raghukamath](https://github.com/raghukamath).
|
||||
Made with ♥ by [pratu16x7](https://github.com/pratu16x7). Awesome logo by [raghukamath](https://github.com/raghukamath).
|
||||
Project maintained by [frappe](https://github.com/frappe).
|
||||
|
||||
8
dist/frappe-charts.min.cjs.js
vendored
8
dist/frappe-charts.min.cjs.js
vendored
@ -3235,14 +3235,6 @@ var Heatmap = function (_BaseChart) {
|
||||
return Heatmap;
|
||||
}(BaseChart);
|
||||
|
||||
// if ("development" !== 'production') {
|
||||
// // Enable LiveReload
|
||||
// document.write(
|
||||
// '<script src="http://' + (location.host || 'localhost').split(':')[0] +
|
||||
// ':35729/livereload.js?snipver=1"></' + 'script>'
|
||||
// );
|
||||
// }
|
||||
|
||||
var chartTypes = {
|
||||
line: LineChart,
|
||||
bar: BarChart,
|
||||
|
||||
8
dist/frappe-charts.min.esm.js
vendored
8
dist/frappe-charts.min.esm.js
vendored
@ -3233,14 +3233,6 @@ var Heatmap = function (_BaseChart) {
|
||||
return Heatmap;
|
||||
}(BaseChart);
|
||||
|
||||
// if ("development" !== 'production') {
|
||||
// // Enable LiveReload
|
||||
// document.write(
|
||||
// '<script src="http://' + (location.host || 'localhost').split(':')[0] +
|
||||
// ':35729/livereload.js?snipver=1"></' + 'script>'
|
||||
// );
|
||||
// }
|
||||
|
||||
var chartTypes = {
|
||||
line: LineChart,
|
||||
bar: BarChart,
|
||||
|
||||
@ -51,7 +51,7 @@
|
||||
<p class="step-explain">Install</p>
|
||||
<pre><code class="hljs console"> npm install frappe-charts</code></pre>
|
||||
<p class="step-explain">And include it in your project</p>
|
||||
<pre><code class="hljs javascript"> import Chart from "frappe-charts"</code></pre>
|
||||
<pre><code class="hljs javascript"> import Chart from "frappe-charts/dist/frappe-charts.min.esm"</code></pre>
|
||||
<p class="step-explain">... or include it directly in your HTML</p>
|
||||
<pre><code class="hljs html"> <script src="https://unpkg.com/frappe-charts@0.0.3/dist/frappe-charts.min.iife.js" /></code></pre>
|
||||
<p class="step-explain">Make a new Chart</p>
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user