beyonk-group / svelte-datepicker

A lightweight datepicker written in Svelte
MIT License
140 stars 23 forks source link

A WebComponent build #40

Open MaybeThisIsRu opened 3 years ago

MaybeThisIsRu commented 3 years ago

I love what you've done here. 😊

If it is possible to build a framework-agnostic version (WebComponent), that would be lovely. I found an unvetted guide here on DEV.to by @sil-vio. I know https://github.com/ivosdc/svelte-datepicker by @ivosdc has both a Svelte and a WebComponent build so it might be worth looking at.

The advantage would be to be able to use this without any build process, and without including a Svelte build pipeline.

I don't have any Web Component or serious Svelte experience, but I hope this issue stays open for anyone else in the community to tackle. 😉

antony commented 2 years ago

I'm happy for somebody to do this is they feel the need. I don't use WebComponents or really think they're particularly desirable, so I'd be equally happy to just output a vanilla Javascript version of the module too :)