From 3c84b21922bf196947aa7ed714179f8e8b7b3159 Mon Sep 17 00:00:00 2001 From: andreafonso Date: Mon, 28 Jun 2021 17:19:10 +0100 Subject: [PATCH] Update README.md MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Added ´type="module"´ to fix "Cannot use import statement outside a module" error. --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index dd2f48b07b8..456a1165072 100644 --- a/README.md +++ b/README.md @@ -71,7 +71,7 @@ You may also consider using [`plotly.js-dist`](https://www.npmjs.com/package/plo Alternatively you may consider using [native ES6 import](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Guide/Modules) in the script tag. ```html -