and use it via:
<pre class="prettyprint">import Dygraph from 'dygraphs';
- // or: const Dygraph = require('dygraphs');
- const g = new Dygraph(div, data, {});
- </pre>
+// or: const Dygraph = require('dygraphs');
+const g = new Dygraph(div, data, {});</pre>
<p>Check out the <a href="https://github.com/danvk/dygraphs-es6">dygraphs ES6 sample project</a> for more details on this approach.</p>
</div>
<html>
<head>
<title>Dygraphs Gallery</title>
- <link rel="stylesheet" href="../css/dygraph.css" />
+ <link rel="stylesheet" href="../dist/dygraph.css" />
<script src="../dist/dygraph.js"></script>
<script src="../src/extras/synchronizer.js"></script>