M: model layer --> data layer
V: view layer --> dom, view layer
VM: This layer is provided by Vue, and users do not need to pay attention.
So, let's look at two pictures:
For example: the previous small case:
M: model layer --> data layer
V: view layer --> dom, view layer
VM: This layer is provided by Vue, and users do not need to pay attention.
So, let's look at two pictures:
For example: the previous small case: