We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 6f006ee + 3c84b21 commit 96a7d92Copy full SHA for 96a7d92
README.md
@@ -71,7 +71,7 @@ You may also consider using [`plotly.js-dist`](https://www.npmjs.com/package/plo
71
72
Alternatively you may consider using [native ES6 import](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Guide/Modules) in the script tag.
73
```html
74
-<script>
+<script type="module">
75
import "https://cdn.plot.ly/plotly-2.2.0.min.js"
76
Plotly.newPlot("gd", [{ y: [1, 2, 3] }])
77
</script>
0 commit comments