Joke Collection Website - Mood Talk - Known as the hottest front-end framework Vue at present, what are its remarkable features?
Known as the hottest front-end framework Vue at present, what are its remarkable features?
1, what is Vue? Vue.js is the hottest front-end framework at present. In addition to developing websites, you can also develop mobile apps. Vue.js is one of the mainstream frameworks in the front end, and together with Angular.js and React.js, it has become the three mainstream frameworks in the front end. Vue.js is a framework for building user interfaces, focusing only on the view layer. It is not only easy to use, but also easy to integrate with third-party libraries or existing projects. Vue.js is a progressive framework for building user interfaces. 2. The characteristics of 2.Vue follow the MVVM mode, with simple coding, small size and high running efficiency. Suitable for mobile /PC development, only focusing on UI. It is easy to introduce vue plug-ins or other third library development projects. 3. The relationship between 3.Vue and other front-end frameworks draws lessons from angular's template and data binding technology, and draws lessons from react's componentization and virtual DOM technology. 4.vue's existing plug-ins vue-cli: vue scaffolding and skeleton vue-resource (Axios) are used to build projects: Ajax requests vue-router: routing vuex: state management vue-lazyload: picture lazy loading vue-scroller: page sliding related mint-ui: ui component library based on Vue (mobile terminal). Element-ui: ui component library based on vue (PC side) 5. Learning Vue's ideas and changing Vue's central idea is data-driven, just like the ancient doyen jQuery is structure-driven.
Let's recall that when we write code with jQuery, we often write it like this:
$("#myDiv ")。 html(" hello world ");
These writing methods first need to obtain Dom nodes, that is, Dom structures, and then modify the contents of data update structures. A great purpose of using jQuery is to simplify the operation of Dom, but using Vue is quite different. The use of Vue is directly this.msg=HelloWorld, and then msg will be automatically synchronized to the structure. What we should care about is the change of data content, not how to operate Dom structure.
To sum up: don't think about how to operate DOM, but how to operate data! !
- Previous article:I really want to talk quietly. I am tired. I want to talk quietly.
- Next article:High school arts and sciences branch
- Related articles
- Let me talk about it.
- How to fry bees?
- Can you talk about the specific performance of the "noisy era" in America?
- How about BYD Tang Fuel Edition?
- Copywriting suitable for drying your own photos
- Write an apology letter for not attending the wedding.
- Tell me how you feel about not being able to eat hot peppers. Tell me how you feel about not being able to eat spicy food anymore.
- A collection of extremely sad and sad quotes (53 items)
- There is always a sentence that suits your mood
- How do you say the emotion of returning to the place where you once lived?