The difference between vuejs and bootstrap: Bootstrap is a front-end page framework developed based on HTML, CSS, and JavaScript, and is used to quickly develop responsive pages. Vue is a progressive JavaScript framework for building user interfaces and componentizing front-end development.
The operating environment of this tutorial: windows7 system, vue2.9.6&&Bootstrap3 version, DELL G3 computer.
Bootstrap
Bootstrap is a simple and intuitive design based on HTML, CSS and JavaScript developed by Mark Otto and Jacob Thornton, designers of the American Twitter company. , 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.
Vue
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:
two-way binding of data. Data changes, page changes. Page changes, The data has also changed.
The rendering of the page is said to be faster than React.
Componentization (actually React also has componentization). This is different from The concept of componentization in BootStrap is a bit different. Vue's componentization has solved the problem of scope conflicts. In addition, js testing has become more professional (somewhat similar to junit).
Single html development. Its development mode is an html, and then continuously 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 better than the Iframe page Faster rendering.
Combined with webpack provided by node.js, etc., it can be packaged and released in a systematic way.
The disadvantage is that it is difficult to get started. It is relatively high, and large-scale development requires accumulation of systematic development. It is recommended to use Element for component-based development of Vue.
The difference between bootstrap and vue
Bootstrap is a simple, intuitive and powerful front-end development framework based on HTML, CSS and JavaScript; and Vue is a progressive JavaScript framework for building user interfaces.
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.
Related recommendations: "vue.js tutorial", "bootstrap tutorial"
The above is the detailed content of What is the difference between vuejs and bootstrap. For more information, please follow other related articles on the PHP Chinese website!