yunfeihuang / vx-ui

vue components 移动端UI组件库
http://vx.bittyos.com/
201 stars 51 forks source link
components javascript sass vue vue2

vx-ui

vue3.x 移动端UI组件库

中文文档:

http://vx.bittyos.com/v3/

示例浏览地址:

http://vx.bittyos.com/v3/demo.html

安装

npm install vx-ui --save-dev

全局注册组件

import {createApp} from 'vue'
import App from './App'
import 'vx-ui/lib/style/theme/index.css'
import Vx from 'vx-ui'
createApp(App).use(Vx)

单个注册组件(Button示例)

import Vue from 'vue'
import App from './App'
import 'vx-ui/lib/style/theme/button.css'
import { Button } from 'vx-ui' // or import Button from 'vx-ui/lib/button'
createApp(App).component(Button.name, Button)

修改UI主题风格

#修改packages/style/src/variable.scss变量后运行以下命令即可
npm run build:theme

vx-ui vue2.x版本的

https://github.com/yunfeihuang/vx-ui/tree/master

打赏赞助,请扫以下二维码,谢谢!

Minion

Customize configuration

See Configuration Reference.