[Bug]: Component library fails with Nuxt 3
Closed this issue · 1 comments
atloss commented
Package
@meteor/component-library
Package version
3.0.0-alpha1
Link to minimal reproduction
https://stackblitz.com/edit/meteor-component-libary-nuxt-3?file=app.vue
Steps to reproduce
- Setup a running Nuxt 3 project with
npx nuxi@latest init <project-name>
- Add the meteor component library
npm i @shopware-ag/meteor-component-library
- Import the styles
- Try using the
<SwCard>
component
Actual behavior
The app crashes with a 500 error: HTMLElement is not defined
Expected behavior
The package also works for Nuxt 3 since Vue 3 is the underlying framework. This was also the case for v2.
System Info
No response
Any additional comments?
No response
Code of Conduct
- I have read and agree to follow Meteor's Code of Conduct
jleifeld commented
Thanks for raising up this issue. I will have a look at it 👀