0👍
Regardless of whether or not you have already solved this yourself considering it has been a few weeks:
Since you are using TypeScript, you do not need to define the methods inside the “methods” object. You can just define them directly on the class.
- [Vuejs]-Vue matching game turns over all matches on single click
- [Vuejs]-How can I set correct index in Vue js for multidimensional array in template
Source:stackexchange.com