The answer is that Vue follows the Model-View-View Model (MVVM) pattern. This pattern is based on the popular Model-View-Controller (MVC) design pattern, and it is designed to decouple the user interface logic from the underlying data model. In the MVVM pattern, the data model is still the same as in MVC, but the user interface logic has been separated into a ViewModel layer. This layer acts as an intermediary between the user interface and the data model, and it is responsible for exposing the data model’s information in a way that is easy to use by the user interface.
The ViewModel layer is made up of two components: the view and the viewmodel