Remix.run Logo
fmbb 7 days ago

The browser supports module imports. But your script must be of type ”module”: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Refe...

TekMol 7 days ago | parent [-]

Not with paths like 'lit' that is used here.

uallo 7 days ago | parent [-]

Import map:

https://developer.mozilla.org/en-US/docs/Web/HTML/Reference/...

TekMol 7 days ago | parent [-]

The example does not use an importmap attribute.

Overall, the example does not seem like something that is supposed to run directly in the browser without some kind of intermediate step.

That is why I asked what the minimal number of steps would be to download the example and have it work locally.