Svelte is a great framework for building applications, but did you know you can create custom elements and web components with it? In this post, we'll learn how to create a Svelte component, export it as a custom element, and use it. We'll also learn about limitations when doing it.

7m read timeFrom thisdot.co
Post cover image
Table of contents
DevelopingBuildingWorking with regular Svelte components and custom elements in the same projectThings to consider when building custom elements

Sort: