-
Notifications
You must be signed in to change notification settings - Fork 98
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
fix: remove setup() and move code to data() in Results.vue #2065
Conversation
Signed-off-by: Christian Hartmann <chris-hartmann@gmx.de>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes and no. Everything reactive should be in data
(except we switch to Composition API), but the composables should be and must be in setup
Ok, could you please fix my code then? |
I am pretty sure I merged the other PR not this one. |
Ok, should we revert it partially? I just read that setup() is only supported with vue3, that's why I moved everything into data(). |
No, But some things like composables need to be defined in |
Signed-off-by: Christian Hartmann chris-hartmann@gmx.de