Can someone help me with this error on how to solve it? I want to add imports and I add attribute type=" module" in my script and throw the error below.
how to solve was blocked because of a disallowed MIME type (“text/html”)
Have you qualified the imports, ie are you using the correct syntax for JS imports (import {foo} from "./foo.js", note the file extension is required).
Are you running this on a local server (I assume you are, as I’d expect a CORs error if you weren’t, but need to check