Maiquu / nuxt-quasar

Quasar Module for Nuxt (Unofficial)
MIT License
152 stars 9 forks source link

[BUG] - `nuxt-quasar` type is overriding every property of Nuxt instance type #101

Closed son-nguyen-301 closed 6 days ago

son-nguyen-301 commented 2 weeks ago

Checks

Environment

Working directory: web-app 10:20:08 AM Nuxt project info: 10:20:08 AM


Quasar version

v2.16.11

Browsers

Microsoft Edge

Description

image

As you can see in the screenshot. Nothing related to Nuxt instance is being suggested.

Original Nuxt instance property: image

Reproduction steps

1. Add `nuxt-quasar` plugin
2. Run dev server
4. See error

Screenshots

![DESCRIPTION](LINK.png)

Logs

No response

Maiquu commented 2 weeks ago

It's most likely an upstream issue. quasar augmenting @vue/runtime-core module might be breaking things, since most suggestions that are provided by your nuxt environment augments vue.

Vue documentation also suggests augmenting vue to modify global properties. There is not much I can do in this module. You should open an issue/PR at quasar.

Maiquu commented 1 week ago

Probably related: https://github.com/quasarframework/quasar/issues/17416

Maiquu commented 6 days ago

This should be fixed with quasar v2.17.0.