Closed anoblet closed 2 years ago
Path | Size |
---|---|
packages/cxl-ui/pkg/dist-web/cxl-ui-playbooks.js, packages/cxl-ui/pkg/dist-web/cxl-ui.js | 41.75 KB (0%) |
How components are imported now when you removed import
line?
@pawelkmpt You're right :)
I'm not sure why the stories still load correctly. I added back the import statements without loading the specific classes.
Edit:
I figured out why they are still loaded: https://lit-and-friends.slack.com/archives/C03PF4L4L/p1654174953792729?thread_ts=1654174050.408669&cid=C03PF4L4L
When syncing with master I'm running into this error:
As opposed to React, Web Components don't use the
component
field (https://storybook.js.org/docs/web-components/writing-stories/introduction).The field can either be omitted or set to a string.