ViewModel: Two-way data binding
Scenario:
For front-end applications with complex interaction logic
< p> Provide basic architecture abstraction
Using Ajax data persistence to ensure front-end user experience
What is vue.js?
is a lightweight mvvm framework
data-driven + componentized front-end development
Github has more than 25k+ stars, and the community is perfect
Vue vs. Angular, react
vue is cooler, gzip has 20k+
vuejs is more hands-on, and the learning curve is smooth
draws on the angular command and the componentization of react
Vue core idea
data-driven
Data response principle:
Componentization
Component design principles: