-
Notifications
You must be signed in to change notification settings - Fork 122
Use nuxt-property-decorator instead vue-property-decorator in examples #58
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
Comments
I'm pretty sure nuxt-property-decorator doesn't have any benefits over vue-property-decorator. Nuxt registers the hooks, which is essentially all that nuxt-property-decorator does, and re-exports everything from vue-property-decorator. |
You are right, but when the application grows out of the current example / template and requires, for example, fetch or asyncData hook, the user of this example will be confused. Maybe he does not know about nuxt-property-decorator library. |
@SyloRei Basic & Avanced examples that will be available here will showcase the use of Something you might not be aware is that Furthermore, |
I agree, let's close |
Is your feature request related to a problem? Please describe.
In the class-api examples, the vue-property-decorator library was used. But this library does not contain all the parameters of the nuxt components.
Describe the solution you'd like
Use nuxt-property-decorator in examples. It is clearer for nuxt.
The text was updated successfully, but these errors were encountered: