cvu-pix
v1.1.6
Published
cvu UI Library from 1.0.49
Downloads
13
Maintainers
Readme
cvu-pix
基于Vue.js 2.x开发 需要依赖axios
安装
请先用 vue-cli 初始化项目
安装 cvu-pix
使用 npm:
npm install /cvu-pix --save-dev
在Vue中全局使用:
import Vue from 'vue';
import pix from 'cvu-pix';
import 'cvu-pix/dist/styles/cvu-pix.css';
Vue.use(cvu);
一般使用方式:
<script type="text/javascript" src="cvu-pix.min.js"></script>
<link rel="stylesheet" href="dist/styles/cvu-pix.css">
例子组件
<template>
<Slider v-model="value" range />
</template>
<script>
export default {
data () {
return {
value: [20, 50]
}
}
}
</script>
升级说明
1.0.0 项目初始化
Copyright (c) 2019, cvu-pix