Difference: Bootstrap is a simple, intuitive, and powerful front-end development framework based on HTML, CSS, and JavaScript; vue.js is a progressive JavaScript framework for building user interfaces. Vue’s core library only Focus on the view layer.
##vue.js
Vue (pronounced /vjuː/, similar to view) is a set of tools for building users Progressive JavaScript framework for 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. [Related recommendations:vue.js video tutorial]
The characteristic is that it stands on the shoulders of React and is better in many aspects:1. Two-way data Binding. When the data changes, the page changes. When the page changes, the data also 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 the html only need to be downloaded once, which is theoretically better than the Iframe page Rendering is faster.5. Combined with webpack provided by node.js, it can be packaged and released in a systematic way.The disadvantage is that it is difficult to get started, and large-scale development is difficult. It requires accumulation of systematic development.Bootstrap
Bootstrap is a simple and simple system based on HTML, CSS and JavaScript developed by Mark Otto and Jacob Thornton, designers of the American Twitter company. , intuitive and powerful front-end development framework, making web development faster. The characteristic is the grid system, which is simple to use and easy to get started. It is specially designed for responsive pages. One set of code can adapt to tablets and PCs.The disadvantage is that it lacks a set of There are powerful systematic components (it didn’t exist at the time of the survey, but it is said that it exists now). When I actually used it, scope conflicts occurred. If a complete set of components is not sorted out, development will be very tiring.The difference between vue.js and bootstrap
Bootstrap is a simple, intuitive, and powerful front-end development framework based on HTML, CSS, and JavaScript; while Vue is a set of A progressive JavaScript framework for building user interfaces.Related recommendations:For more programming-related knowledge, please visit:
2020 front-end vue interview questions summary (with answers)
vue tutorial Recommended: The latest 5 vue.js video tutorial selections in 2020
Introduction to Programming! !
The above is the detailed content of What is the difference between vue.js and bootstrap?. For more information, please follow other related articles on the PHP Chinese website!