runner-ui
v0.1.1
Published
A Component Library for Vue.js
Downloads
7
Readme
Install
npm install runner-ui -S
Quick Start
import Vue from 'vue'
import Runner from 'runner-ui'
Vue.use(Runner)
// or
import {
TreeSelect
// ...
} from 'runner-ui'
Vue.component(TreeSelect.name, TreeSelect)
Theme
// 主题引入
import 'runner-ui/lib/theme-chalk/index.css'
// or是搭配 babel-plugin-component 一起使用,只需要修改 .babelrc 的配置
{
"plugins": [
[
"component",
{
"libraryName": "runner-ui",
"styleLibraryName": "theme-chalk"
}
]
]
}