Home  >  Article  >  Web Front-end  >  Is vue.js an mvvm framework?

Is vue.js an mvvm framework?

藏色散人
藏色散人Original
2021-01-26 09:24:293607browse

vue.js is an mvvm framework, and it is a lightweight mvvc framework, which is used for DOM elements and data binding; the core of Vue.js is a template that allows you to use simple template syntax. A system for declaratively rendering data into the DOM.

Is vue.js an mvvm framework?

The operating environment of this tutorial: windows7 system, vue2.0 version, Dell G3 computer.

Related recommendations: "vue.js Tutorial"

vue.js is a progressive JavaScript framework for building user interfaces. Unlike other large frameworks, Vue is designed to be applied layer by layer from the bottom up. Vue's core library only focuses on the view layer, making it easy to integrate with third-party libraries or existing projects.

Is vue.js an mvvm framework?

vue.js is a lightweight mvvc framework, used for DOM elements and data binding. With vue.js, front-end development basically only needs to manage the data in the model layer, and leave the DOM and the like to vue.js. Based on virtual DOM, a technology that can perform various calculations through JavaScript in advance to calculate and optimize the final DOM. Since this DOM operation is a preprocessing operation and does not actually operate the DOM, it is called virtual DOM.

Vue.js uses HTML-based template syntax, allowing developers to declaratively bind the DOM to the data of the underlying Vue instance.

The core of Vue.js is a system that allows you to declaratively render data into the DOM using concise template syntax.

vue.js has routes called vue-route.js, vue.js also has data requests called vue-resource.js

Vue.js can be referenced in html, and imported using npm Convenient package management.

When the number of libraries and frameworks required by the application increases, it will be inconvenient to import them one by one from HTML.

So using packaging tools such as webpack (the build tool in node.js), you can directly introduce require and package different modules into a single js file. At the same time, these tools provide various automated processes to make front-end development more enjoyable.

The above is the detailed content of Is vue.js an mvvm framework?. For more information, please follow other related articles on the PHP Chinese website!

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Previous article:Does vue.js require js?Next article:Does vue.js require js?