New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Replace vue-property-decorator with nuxt-property-decorator #31
Comments
I still have no idea what |
Yes, let me explain. Those modules bring type checking for properties unique to Nuxt such as fetch or middleware functions on the Component object. Let's look at this code:
So if you'll import Component from
Importing from The same logic goes around
all of those are covered by Import of the component should be changed to |
Totally agree with Not so sure about the whole |
Yeah, but then again |
There's a point of view that anything you |
I'm not sure I've ever heard of such rule. What is the benefit of it? |
|
Yeah, makes sense |
@qm3ster I've looked closely into an existing
what do you think about this? |
Do you want to participate in maintaining that? |
Yes, I agree that right now
Yes, sure. But I guess I will first try to push my suggestions to the existing repo to not create duplicated npm packages |
It's more of a suggestion rather than an issue. Since nuxt-property-decorator exists as a separate module that extends the nuxt-class component, maybe it would be better to use it inside template instead of vue-property-decorator ?
The text was updated successfully, but these errors were encountered: