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
3 Replies
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 somethingI made sure the file was already in effect in ts.
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.