I know this seems basic, but I have a svelte:component I'd like to be able to style, but can't find anything in the Svelte documentation that tells me how to do it.
<svelte:component /> is kind of a virtual element, it won't have a corresponding element in the finally rendered DOM. So you can't style it.
We use cookies to ensure that we give you the best experience on our website. If you continue to use this site we will assume that you are happy with it.OkRead more