DEV Community

Discussion on: How to Create a Web Component in Svelte

Collapse
 
vitorhugomattos profile image
Vitor Hugo

is there a way to disable shadow dom? i would like to have the component styled using the page style

Collapse
 
silvio profile image
sil-vio

Hi Vitor!
no at the moment it is not possible to disable shadow dom. There have been discussions about whether and how to enable this option in the future. You can read the opinion of Rich Harris (the creator of svelte) on the topic here.