Svelte + Web Components

Minimal web component setup with svelte

Demo: https://svelte-web-components.web.app

Setup from https://www.casperfeng.com/blog/creating-web-components-using-svelte

Setup

yarn install

Development

yarn dev

Deployment

yarn build
serve ./dist

Using Firebase Hosting

Run firebase init and use ./dist when asked 'What do you want to use as your public directory?'

See firebase branch: https://github.com/uac-nhan-nguyen/svelte-tailwind-kit/tree/firebase

Top categories

svelte logo

Want a Svelte site built?

Hire a Svelte developer
Loading Svelte Themes