shopware/meteor

[Bug]: Component library fails with Nuxt 3

Closed this issue · 1 comments

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

  1. Setup a running Nuxt 3 project with npx nuxi@latest init <project-name>
  2. Add the meteor component library npm i @shopware-ag/meteor-component-library
  3. Import the styles
  4. 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

Thanks for raising up this issue. I will have a look at it 👀