vue components 移动端UI组件库
# install dependencies
npm install vx-ui --save-dev
# 全局注册组件
import Vue from 'vue'
import 'vx-ui/lib/style/theme/index.css'
import VxUI from 'vx-ui'
Vue.use(VxUI)
# 单个注册组件(Button示例)
import Vue from 'vue'
import 'vx-ui/lib/style/theme/button.css'
import { Button } from 'vx-ui' // or import Button from 'vx-ui/lib/button'
Vue.component(Button.name, Button)
# 修改UI主题风格
##### 修改src/components/style/src/variable.scss变量后运行以下命令即可
npm run build:theme
For detailed explanation on how things work, checkout the guide and docs for vue-loader.