0.1.28 • Published 10 months ago
pro-whale-ui v0.1.28
ProWhaleUI
ProWhaleUI是基于ElementUI而开发的一套高阶组件(ProComponent),用于后台场景中快速搭建CRUD页面,提供了更高级别的抽象,开箱即用,同时不失灵活性,期望可以满足绝大多数业务需求。
安装
# 安装最新版
npm install --save pro-whale-ui
# 安装指定版本
npm install --save pro-whale-ui@0.1.6
完整引入 ProWhaleUI
import Vue from 'vue'
import ElementUI from "element-ui";
import "element-ui/lib/theme-chalk/index.css";
import ProWhaleUI from "pro-whale-ui";
import "pro-whale-ui/whale-ui.css";
import App from './App.vue';
Vue.use(ElementUI);
Vue.use(ProWhaleUI);
new Vue({
el: '#app',
render: h => h(App)
});
按需引入
import Vue from 'vue'
import ElementUI from "element-ui";
import "element-ui/lib/theme-chalk/index.css";
import { ProRadioGroup, ProCheckboxAll } from "pro-whale-ui";
import "pro-whale-ui/whale-ui.css";
import App from './App.vue';
Vue.use(ElementUI);
Vue.use(ProRadioGroup);
Vue.use(ProCheckboxAll);
new Vue({
el: '#app',
render: h => h(App)
});
在项目中使用
<template>
<pro-radio-group v-model="value" :options="options" size="small"></pro-radio-group>
</template>
<script>
export default {
data() {
return {
value: '1',
options: [
{ label: "1", name: "是" },
{ label: "0", name: "否" },
],
}
}
}
</script>
Document
See ProWhaleUI Document.
0.1.27
10 months ago
0.1.28
10 months ago
0.1.26
2 years ago
0.1.25
3 years ago
0.1.24
3 years ago
0.1.20
3 years ago
0.1.21
3 years ago
0.1.22
3 years ago
0.1.23
3 years ago
0.1.19
3 years ago
0.1.18
3 years ago
0.1.17
3 years ago
0.1.16
3 years ago
0.1.14
3 years ago
0.1.15
3 years ago
0.1.10
3 years ago
0.1.11
3 years ago
0.1.12
3 years ago
0.1.8
3 years ago
0.1.7
3 years ago
0.1.9
3 years ago
0.1.4
3 years ago
0.1.6
3 years ago
0.1.5
3 years ago
0.1.3
3 years ago
0.1.2
3 years ago
0.1.1
3 years ago
0.1.0
3 years ago