6 ms·
"I typically start <...> using a file:// URL." "Ideally, I’d just grab the framework files, import them from my JavaScript, and then carry on with my file:// U
by mrpepka 4y ago
"I typically start <...> using a file:// URL."
"Ideally, I’d just grab the framework files, import them from my JavaScript, and then carry on with my file:// URL."
Does this work with file:// URLs at all?
I see in the article that paths in import maps start with /. So, the author must be using a local server, otherwise browsers will block loading the modules by CORS policy. Is there something I'm not getting here?