How to create a web component in sveltejs

preview_player
Показать описание
Demo of creating and using a web component using SvelteJS. SvelteJS is a framework that compiles away at run time and so should produce a nice small bundle size for our component. Proof is in the pudding so check it out to see!
Рекомендации по теме
Комментарии
Автор

svelte appears to be the simplest way to build a web component. (compared to lit & stencil)

petemoss
Автор

Many thanks for your great videos...How does one export an array and within index.html how does one pass the array to the component?

paulfx
Автор

Here is a tip for ya though, try to flip your talking head video on the x axis.

Kawaiiization
Автор

damn, that npm destroyed this demo,
i thought this was about JS.

theoligarchist
welcome to shbcf.ru