Skip to content

How to make component imports work? #2495

Answered by ChristianMurphy
ImExoOdeex asked this question in Q&A
Discussion options

You must be logged in to vote

Welcome @ImExoOdeex!
When evaluate is run it is running ESM in the browser.
You may need an import map to let it know how to resolve react and any other runtime modules https://developer.mozilla.org/en-US/docs/Web/HTML/Element/script/type/importmap

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by ImExoOdeex
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants