Home > Article > Web Front-end > What does vuejs refer to?
vuejs refers to a progressive framework for building data-driven web interfaces. Its goal is to achieve responsive data binding and composed view components through the simplest possible API. Vue's core library only focuses on the view layer, which is not only easy to get started, but also easy to integrate with third-party libraries or existing projects.
The operating environment of this tutorial: windows7 system, vue2.9.6 version, DELL G3 computer.
What is Vue.js?
Vue.js is a progressive framework for building data-driven web interfaces. The goal of Vue.js is to enable responsive data binding and composed view components with the simplest possible API. Many programmers who have used vue evaluate it this way, "vue.js combines the advantages of angular.js and react.js, and eliminates their shortcomings"
What are the advantages of Vue.js ?
1. Vue is easier to get started! Vue is currently the third-ranked front-end framework. Officially because it is easy to learn, many front-end development engineers can quickly master it and apply it to actual development.
2. Vue’s syntax is very free
·You don’t need to know complex life cycle functions in the early stage, you may only care about mounted and Vue.nextTick
·Familiar front-end template
·Communication between parent and child components is more flexible
·slot, which can expand components on a large scale (but don’t overuse it)
·v-model, mvvm method Forms are more convenient
What is the core of Vue?
Vue official website introduction: Implement responsive data binding and combined view components through the simplest possible API. This reflects Vue's two core keywords: data binding and view components.
Vue's data-driven: Data changes drive the automatic update of the view. Traditionally, you have to manually change the DOM to change the view. Vuejs only needs to change the data and it will automatically change the view. In one word: cool. You no longer have to worry about DOM updates. This is the realization of the MVVM idea.
View componentization: Split the entire web page into blocks, and each block can be regarded as a component. A web page is composed of multiple components that are spliced or nested.
What are the applicable scenarios for Vue?
If you are still using jquery to frequently operate your DOM to update the page, then you can use Vue.js to liberate your DOM operations.
If there are multiple parts in your project that are the same and can be encapsulated into a component, then you can try using Vue.js.
In addition, the core implementation of Vue.js uses the Object.defineProperty feature of ES5, which is incompatible with browsers of IE8 and below. Therefore, your project needs to be compatible with these lower versions of browsers. , then Vue.js is not applicable.
Vue’s core library only focuses on the view layer, and is very easy to learn and integrate with other libraries or existing projects. But Vue.js itself is not a comprehensive framework, after all, it only focuses on the view layer. But as a front-end framework that is currently more popular among front-end engineers. Vue.js has a huge market. If you can master Vue.js technology in advance, it will definitely increase your future career opportunities.
Related recommendations: "vue.js Tutorial"
The above is the detailed content of What does vuejs refer to?. For more information, please follow other related articles on the PHP Chinese website!