1.0.6 • Published 7 years ago

zm-ui v1.0.6

Weekly downloads
3
License
MIT
Repository
-
Last release
7 years ago

zm-ui

zm-ui NPM downloads NPM downloads JS gzip size CSS gzip size

NPM stats

安装 zm-ui

使用 npm

npm install zm-ui --save

使用 yarn

yarn add zm-ui 
import Vue from 'vue';
import ZmUi from 'zm-ui';
Vue.use(ZmUi);

或者直接使用script标签

<script type="text/javascript" src="https://cdn.bootcss.com/vue/2.4.2/vue.min.js"></script>
<script type="text/javascript" src="https://unpkg.com/zm-ui/dist/zm.min.js"></script>

项目中使用 zm-ui

<template>
    <Button type="text">{{ text }}</Button>
</template>
<script>
    export default {
        data () {
            return {
                text: "按钮"
            }
        }
    }
</script>

引入css

import 'zm/dist/styles/zm.css';

兼容性

需要node7+,npm3+,vue2+,IE9以上

License

MIT

Copyright (c) 2017, zm-ui