lume / element

Fast and simple custom elements.
https://lume.io
MIT License
127 stars 5 forks source link

webcomponents.dev example broken #20

Closed ontoneio closed 3 months ago

ontoneio commented 3 months ago

https://studio.webcomponents.dev/edit/y2DKkUqt7I1tc3L6CCWR/src/index.jsx?p=stories

Throws an error and doesn't start up.

image

trusktr commented 3 months ago

Ah, that's unfortunate that it broke. Thanks for reporting this!

When I first made that demo, webcomponents.dev didn't support versioning libraries, so if a library has a breaking change a deck could simply break.

Here's a fork of that example with updated import statements so that

https://studio.webcomponents.dev/edit/B9KHyaJjJVj1YrTPPtKn/src/index.jsx

I see that webcomponents.dev allows modifying package.json now. Maybe I can update examples so that lib versions are locked and demos won't break.