Home >Common Problem >The difference between bootstrap and vue

The difference between bootstrap and vue

爱喝马黛茶的安东尼
爱喝马黛茶的安东尼Original
2019-06-17 14:57:2025242browse

The difference between bootstrap and vue

BootStrap:

Features

Grid system, use Simple and easy to get started. Designed for responsive pages. One set of code can adapt to tablets and PCs.

Recommended manualBootstrap Chinese manual

Disadvantages

Lack of a powerful set A systematic component (it didn’t exist when I investigated it, but it is said that it exists now). When I actually used it, I encountered scope conflicts. If a complete set of components is not sorted out, development will be very tiring.

Vue:

Features

Standing on the shoulders of React, it is better in many aspects:

Recommended Manual: Vue.js Basic Tutorial

1. Two-way binding of data. Data changes, page changes. Page changes, data Also change.

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 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 Iframe Page rendering is faster.

5. Combined with webpack provided by node.js, etc., it can be packaged and released in a systematic way.

Disadvantages

It is relatively difficult to get started, and large-scale development requires accumulation of systematic development. It is recommended to use Element for Vue component development: [http://element.eleme.io/#/zh-CN/component/popover](http://element.eleme.io/#/zh-CN/component/popover )

Conclusion:

For long-term consideration, it is recommended to use Vue node.js. For short-term use, BootStrap is a good choice.

Recommended related articles:
1.Detailed tutorial (steps) for introducing bootstrap into vue
2.The difference between elementui and bootstrap
3.The difference between layui and bootstrap
Related video tutorials:
1.Jade Girl Heart Sutra Series

The above is the detailed content of The difference between bootstrap and vue. 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