|
@@ -53,7 +53,7 @@ |
|
|
<p class="step-explain">And include it in your project</p> |
|
|
<p class="step-explain">And include it in your project</p> |
|
|
<pre><code class="hljs javascript"> import Chart from "frappe-charts/dist/frappe-charts.min.esm"</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> |
|
|
<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"></script></code></pre> |
|
|
|
|
|
|
|
|
<pre><code class="hljs html"> <script src="https://unpkg.com/frappe-charts@0.0.5/dist/frappe-charts.min.iife.js"></script></code></pre> |
|
|
<p class="step-explain">Make a new Chart</p> |
|
|
<p class="step-explain">Make a new Chart</p> |
|
|
<pre><code class="hljs html"> <!--HTML--> |
|
|
<pre><code class="hljs html"> <!--HTML--> |
|
|
<div id="chart"></div></code></pre> |
|
|
<div id="chart"></div></code></pre> |
|
|