Home >Web Front-end >Front-end Q&A >What is the difference between bootstrap and vue
Difference: 1. Bootstrap is a simple, intuitive, and powerful front-end development framework based on HTML, CSS, and JS; while Vue is a progressive JavaScript framework for building user interfaces. 2. Bootstrap is used to quickly develop responsive pages; while Vue is used to componentize front-end development.
The operating environment of this tutorial: Windows7 system, bootsrap3.3.7&&vue2.9.6 version, DELL G3 computer
In many people’s eyes Both bootstrap and vue are front-end frameworks. In fact, they still have many differences. Bootstrap is a front-end page framework, used to quickly develop responsive pages, while vue is a front-end js library that componentizes front-end development.
Bootstrap is a simple, intuitive, and powerful front-end development framework based on HTML, CSS, and JavaScript developed by designers Mark Otto and Jacob Thornton of the American Twitter company, making the Web Development is faster.
The feature is the grid system, which is simple to use and easy to get started. Designed for responsive pages, one set of code can adapt to tablets and PCs.
The shortcoming is that there is a lack of a powerful set of systematic components (it was not available at the time of the investigation, but now it is said that it is). When I actually used it, scope conflicts occurred. If it is not sorted out, A whole set of components is very tiring to develop.
Vue (pronounced /vjuː/, similar to view) 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.
The characteristic is that, standing on the shoulders of React, it is better in many aspects:
1. Two-way binding of data, data changes, page changes, page changes, data changes.
2. The rendering of the page is said to be faster than React.
3. Componentization (actually React also has componentization); This is a bit different from the componentization concept of BootStrap. Vue's componentization has solved the problem of scope conflicts. In addition, js testing has become more professional (somewhat similar to junit).
4. Single HTML development; its development mode is an HTML, and then constantly replaces the js corresponding to the component to switch the display effect. The common js and css in html only need to be downloaded once, which is theoretically faster than the rendering of Iframe pages.
5. Combined with the webpack provided by node.js, it can be packaged and released in a systematic way.
The disadvantage is that it is relatively difficult to get started, and large-scale development requires accumulation of systematic development; it is recommended to use Element for component-based development of Vue.
Bootstrap is a simple, intuitive, and powerful front-end development framework based on HTML, CSS, and JavaScript; while Vue is a set of progressive JavaScript for building user interfaces frame.
Recommended study: "bootstrap usage tutorial"
The above is the detailed content of What is the difference between bootstrap and vue. For more information, please follow other related articles on the PHP Chinese website!