Closed garrucho closed 1 year ago
Sorry for the super-slow response time.
You can see how I do it on the docs page: https://github.com/juanjoDiaz/json2csv/blob/2d827e99d849e3afbbfcde4fa25f9789aab25c83/docs/index.html#L172-L177
The key thing is that, for this to work you need to pull from GitHub and not from npm as npm won't have all the needed modules connected in a way that works for the browser.
Oh, that's okay... Late answer yet. haha
Many thanks! Didn't have the eyes to get that – and by some reason I didn't see the "try it live", which is very cool!
Hi!
I'm not experienced with this type of import, but should I be able to use "plainjs" in the browser just like that? 🤔
(test made through a basic "test.html" file and opened in the latest Chrome)
It's not working. At the console, we can see the error:
I've tried creating an "importmap" before the import to solve this issue:
But each remap goes to a new failure. After these three, the error ends being:
Any recommendations?
Thanks.