1: What is the Vue.js framework
The Vue.js framework is a set of progressive methods for building user interfaces The goal of Vue.js is to implement responsive data binding and combined view components through the simplest possible API.
2: Comparison between vue and angular
The core concept of vue: componentized bidirectional data flow (implemented based on ES5 definedProperty) is only supported by IE9 and above
angular Core: Modular two-way data binding, dirty detection (an array $watch)
Components are faster and more segmented than modular, header: page (template) style (style) dynamic effect (script) )
Two-way data flow:
Changes to js attributes affect changes to the page
Changes to the page affect changes to js attributes
Three: Commonly used instructions in vue
v-text
v-if
v-html
v-show
v-modal
The above is the detailed content of What is Vue.js framework. For more information, please follow other related articles on the PHP Chinese website!