update docs

This commit is contained in:
pratu16x7 2017-11-05 14:54:39 +05:30
parent 87ea03af19
commit 17955256d4
4 changed files with 5 additions and 21 deletions

View File

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

View File

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

View File

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

View File

@ -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"> &lt;script src="https://unpkg.com/frappe-charts@0.0.3/dist/frappe-charts.min.iife.js" /&gt;</code></pre>
<p class="step-explain">Make a new Chart</p>