Skip to content

vogloblinsky/svelte-3-wc-debug

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 

Repository files navigation

svelte-3-wc-debug

Reproduction repository of issue with Svelte <-> Custom Elements Events

svelte3-raw

Example using just Svelte syntax. Inner component dispatch a custom event 'message'. App component listen to it using on:message

It works !

svelte3-wc

Example using just Svelte syntax and exporting component to Web Components. Inner component dispatch a custom event 'message'. App component listen to it using on:message

Same syntax doesn't work.

Vanilla JS works fine in public/index.html

About

Debug Web Component export with Svelte 3

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published