ES6 modules are subject to same-origin policy.
You need to run your script from a local server, opening the file directly with a browser will not work.
see here ES6 module support in Chrome 62/Chrome Canary 64, does not work locally, CORS error
ES6 modules are subject to same-origin policy.
You need to run your script from a local server, opening the file directly with a browser will not work.
see here ES6 module support in Chrome 62/Chrome Canary 64, does not work locally, CORS error