bxs-ui-vue
BSX Components
3,870
| Install | |
|---|---|
npm install bxs-ui-vue |
|
| Latest Version: | 4.2.4 |
| Vue: | 2 |
| License: | MIT |
| Last Updated: | Apr 22, 2026 |
| Links: | npm |
Maintainer: bxs-publish
BXS-UI-VUE
概述
保险师VUE组件库
开发
## 安装依赖
npm install
## 启动example
npm run dev
## 构建
npm run build
本地调试
使用npm link bxs-ui-vue和npm unlink bxs-ui-vue
## 到bxs-ui工程下执行
npm link
## 到业务工程下执行
npm link bxs-ui-vue
## 取消本地调试执行
npm unlink bxs-ui-vue
使用
npm install bxs-ui-vue
npm install bxs-ui-vue --save-dev
"plugins": [
[
"component", {
"libraryName": "bxs-ui-vue",
"libDir": "lib",
"style": "index.css"
}
]
]
与mint-ui同时使用
"plugins": [
[
"component", [{
"libraryName": "mint-ui",
"style": true
},{
"libraryName": "bxs-ui-vue",
"libDir": "lib",
"style": "index.css"
}]
]
]
导入所有组件
import Vue from 'vue'
import Bxs from 'bxs-ui-vue'
Vue.use(Bxs)
<bxs-badge></bxs-badge>
export default {
mounted () {
this.$toast('hello world')
}
}
按需引入组件
<bxs-badge></bxs-badge>
import { Toast, Badge } from 'bxs-ui-vue'
export default {
mounted () {
Toast('hello world')
},
components: {
[Badge.name]: Badge
}
}
或
import Vue from 'vue'
import { Toast, Badge } from 'bxs-ui-vue'
Vue.use(Toast)
Vue.use(Badge)
<bxs-badge></bxs-badge>
export default {
mounted () {
this.$toast('hello world')
}
}
Related Packages
Version History
| Version | Released | Vue | License |
|---|---|---|---|
| 4.2.4 | ^2.5.17 | MIT | |
| 4.2.3 | ^2.5.17 | MIT | |
| 4.2.2 | ^2.5.17 | MIT | |
| 4.2.1 | ^2.5.17 | MIT | |
| 4.2.0 | ^2.5.17 | MIT | |
| 4.1.0 | ^2.5.17 | MIT | |
| 4.0.1 | ^2.5.17 | MIT | |
| 4.0.0 | ^2.5.17 | MIT | |
| 3.9.1 | ^2.5.17 | MIT | |
| 3.9.0 | ^2.5.17 | MIT | |
| 3.8.1 | ^2.5.17 | MIT | |
| 3.8.0 | ^2.5.17 | MIT | |
| 3.7.0 | ^2.5.17 | MIT | |
| 3.6.6 | ^2.5.17 | MIT | |
| 3.6.5 | ^2.5.17 | MIT | |
| 3.6.4 | ^2.5.17 | MIT | |
| 3.6.3 | 2.5.17 | MIT | |
| 3.6.2 | 2.5.17 | MIT | |
| 3.6.1 | 2.5.17 | MIT | |
| 3.6.0 | 2.5.17 | MIT | |
| 3.5.10 | 2.5.17 | MIT | |
| 3.5.9 | 2.5.17 | MIT | |
| 3.5.8 | 2.5.17 | MIT | |
| 3.5.7 | 2.5.17 | MIT | |
| 3.5.6 | 2.5.17 | MIT | |
| 3.5.5 | 2.5.17 | MIT | |
| 3.5.4 | 2.5.17 | MIT | |
| 3.5.3 | 2.5.17 | MIT | |
| 3.5.2 | 2.5.17 | MIT | |
| 3.5.1 | 2.5.17 | MIT |
Showing the latest 30 of 70. See every release on npm
Pre-releases (4)
| Version | Released | Vue | License |
|---|---|---|---|
| 4.2.0-beta.4 | ^2.5.17 | MIT | |
| 4.2.0-beta.3 | ^2.5.17 | MIT | |
| 4.2.0-beta.2 | ^2.5.17 | MIT | |
| 4.2.0-beta.1 | ^2.5.17 | MIT |