Access to Script at ‘ from origin ‘null’ has been blocked by CORS policy

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

Leave a Comment