How to use web component in solidjs

Please ask solidjs how to solve the use of web component component editor ts reported error Property my-component does not exist on type JSX.IntrinsicElements
No description
No description
3 Replies
Otonashi
Otonashi9mo ago
make sure the file you're declaring this in has imports and/or exports like add import "solid-js"; to the top of the file or something
Json Lee
Json LeeOP9mo ago
I made sure the file was already in effect in ts.
optimistarby
optimistarby7mo ago
The bigger issue I have is two things: that I have to use the prop: special form, and when I do, typescript complains about it not existing.
Want results from more Discord servers?
Add your server