Scaffold to get started with Svelte Web Component.
src/index.svelte
.npm run dev
for local devnpm run build
produces bundle.js
in public/bundle.js
in your files and use your web component.<my-component>
used in HTML filecustomElement: true
added in rollup config
<svelte:options tag="my-component">
added in index.svelte