Skip to content

[HELP] Bundling via esbuild produces Runtime Error. #99

Answered by edoardocavazza
LePichu asked this question in Q&A
Discussion options

You must be logged in to vote

Hello @LePichu. Please note that DNA is built on Custom Elements standard. Custom Elements names must include an hyphen as described here.

Try this instead:

-@customElement("counter")
+@customElement("app-counter")

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@LePichu
Comment options

@edoardocavazza
Comment options

@LePichu
Comment options

Answer selected by LePichu
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants