0.0.1 • Published 3 years ago
cu-vue-plugins v0.0.1
cu-vue-plugins
安装 Install
npm install cu-vue-plugins -S
快速上手
1. 在 vue 项目的入口文件中引入
import CuVuePlugin from "cu-vue-plugins";
Vue.use(CuVuePlugin);
2. 使用组件
Radio Group组件
<template>
<cu-radio-group :options="options" :value.sync="value"></cu-radio-group>
</template>
<script>
export default {
data() {
return {
value: 3,
options: [
{
label: "选项1",
value: 1,
},
{
label: "选项 2",
value: 2,
},
],
};
},
};
</script>
0.0.1
3 years ago