ydy-ui

一道云的前端UI框架及公用方法
548
Install
npm install ydy-ui
Latest Version:1.1.1
Vue:2
License:MIT
Last Updated:Oct 11, 2019
Links: npm
Maintainer: jeenk_zou

ydy-ui

logo

江苏一道云科技发展有限公司的前端UI框架及公用方法

线上DEMO

正在开发中...

安装

    npm install ydy-ui

使用

在main.js中引入

    import ydyUi from 'ydy-ui'
    import Vue from 'vue'
    Vue.use(ydyUi)

或在组件中按需引入

    import {Button,Input} from 'ydy-ui'
    components:{Button,Input}

在组件内使用

    <template>
        <div>
            <Button :loading='btnLoading' :loadingMsg='loadingMsg' @on-click='handleBtnClick'>按钮</Button>
        </div>
    </template>
    <script>
        export default {
            data(){
                return {
                    btnLoading:false,
                    loadingMsg:'正在加载中...'
                }
            },
            methods:{
                handleBtnClick(){
                    this.btnLoading = true
                }
            }
        }
    </script>

配置

属性 默认值 说明
loading false
loadingMsg 进行中

Related Packages

ya-ui-vue

A UI toolkit for Yazuo base on vue.js

3,857 2
i-ui

vue components

2,889
uspview

A high quality UI components Library with Vue.js

426
@skeletonizer/vue

The way to skeletonize your Vue.js components

14,564 7
xcms-common-plugins

xcms components Library with Vue.js

11,675

Version History

Version Released Vue License
1.1.1 ^2.5.11 MIT
1.1.0 ^2.5.11 MIT
1.0.12 ^2.5.11 MIT
1.0.11 ^2.5.11 MIT
1.0.10 ^2.5.11 MIT