Importing web component `[...] does not exist on type 'JSX.IntrinsicElements'`
I'm trying to insert a web component in my Solid component:
But it says
Property 'stripe-payment-request' does not exist on type 'JSX.IntrinsicElements'.
. Any idea how to fix this?3 Replies
replace
global
with module "solid-js"
Stack Overflow
How to use a web component in a solid.js project?
When I try to use a web component in my Solid.js project (instead of building one), it doesn't recognize the tag as it is not an intrinsic element. How can I setup solid.js to recognize web compone...
Thank you for the help 🙏