0.1.28 • Published 2 years ago

pro-whale-ui v0.1.28

Weekly downloads
-
License
MIT
Repository
github
Last release
2 years ago

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

2 years ago

0.1.28

2 years ago

0.1.26

3 years ago

0.1.25

4 years ago

0.1.24

4 years ago

0.1.20

4 years ago

0.1.21

4 years ago

0.1.22

4 years ago

0.1.23

4 years ago

0.1.19

4 years ago

0.1.18

4 years ago

0.1.17

4 years ago

0.1.16

4 years ago

0.1.14

4 years ago

0.1.15

4 years ago

0.1.10

4 years ago

0.1.11

4 years ago

0.1.12

4 years ago

0.1.8

4 years ago

0.1.7

4 years ago

0.1.9

4 years ago

0.1.4

4 years ago

0.1.6

4 years ago

0.1.5

4 years ago

0.1.3

4 years ago

0.1.2

4 years ago

0.1.1

4 years ago

0.1.0

4 years ago