nuxt-community / nuxt-property-decorator

Property decorators for Nuxt (base on vue-property-decorator)
https://github.com/kaorun343/vue-property-decorator
MIT License
400 stars 34 forks source link

No 'Ref' decorator #49

Closed profispojka closed 5 years ago

profispojka commented 5 years ago

This module does not support Ref decorator, although vue-property-decorator does support it

kevinmarrec commented 5 years ago

@profispojka I think it's cause it's a feature that has been implemented in vue-property-decorator 8.2.x but nuxt-property-decorator uses 8.1.

Can you try using last version of vue-property-decorator by forcing it to insall last version in your project ?

profispojka commented 5 years ago

This won't work, as the functions are hardcoded in nuxt-property-decorator.umd.js and types in nuxt-property-decorator.d.ts

kevinmarrec commented 5 years ago

Indeed you're right, we need to upgrade dependencies and release new version. /cc @husayt

husayt commented 5 years ago

This is on the way. Thanks for pointing out.

On Thu, 25 Jul 2019, 12:48 Kevin Marrec, notifications@github.com wrote:

Indeed you're right, we need to upgrade dependencies and release new version. /cc @husayt https://github.com/husayt

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/nuxt-community/nuxt-property-decorator/issues/49?email_source=notifications&email_token=AAI5PLHW2BMWWEI4O6YSVN3QBGHKFA5CNFSM4IGRFWR2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD2ZHQ5I#issuecomment-515012725, or mute the thread https://github.com/notifications/unsubscribe-auth/AAI5PLCYDNVYWBM4QPI6WSTQBGHKFANCNFSM4IGRFWRQ .

profispojka commented 5 years ago

Hi. Do you have estimate when this is going to be finished?

husayt commented 5 years ago

@profispojka new 2.4.0 with latest vue-property-decorator has been released today. Can you please give it a try and also would be great to have an example of using ref decorator

profispojka commented 5 years ago

I don't see that you have added the export of Ref decorator. Only a note in release notes.