1.0.92 • Published 4 years ago
wsw-ui v1.0.92
快速开始
npm i wsw-ui
import Vue from 'vue'
import wswui from 'wsw-ui'
Vue.use(wswui)
// or
import {
Tabs,
Tab
// ...
} from 'wsw-ui'
Vue.component(Tabs.name, Select)
Vue.component(Tab.name, Button)
支持按需加载需要babel-plugin-component,在.barbelrc
module.exports = {
"plugins": [
["component", { libraryName: "wsw-ui"}] // `style: true` 会加载 less 文件
]
}