Applying Java-style OOP on Vue2 #7135
Unanswered
heeh
asked this question in
Help/Questions
Replies: 1 comment
-
I wouldn't recommend applying OOP to vue. it will hurt you in the long run, java and vue are nothing alike and thus shouldn't have the same solution be applied to both if you still think it's the way to go then give this a try https://class-component.vuejs.org/ it helps you write vue components as classes |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
When it comes to implementation, our team has been following traditional OOP from java because we couldn't find a best practice.
However, Vue2 and java are not the same and it is not always easy to apply OOP on vue2 project.
Is there a best practice that we could follow?
Beta Was this translation helpful? Give feedback.
All reactions