Is the Vue Instance / Component only the ViewModel in the MVVM? Is the Vue Instance / Component only the ViewModel in the MVVM? vue.js vue.js

Is the Vue Instance / Component only the ViewModel in the MVVM?


I personally think for a basic vue instance you should't really read deep into design patterns.

When building big vue application, which involves multiples vuex state module and api layer. You can think about design pattern. But I feel it is still trivial for vue web applications. See below regarding some sort of answer(If I am wrong please correct me).

template - View

data & vuex store states - Model

getters & computed - ViewModel

actions & apiLayer - ViewController

mutations - ViewController -> ViewModel

viewController - When the view execute actions, which writes to the model. Like initiating a data fetch to the backend and populate the model with the fetched data.