0.0.3 • Published 1 year ago

zgys-component v0.0.3

Weekly downloads
-
License
-
Repository
-
Last release
1 year ago

诸葛耘墒UI组件库

使用element-ui封装了诸葛耘墒通用组件

环境要求

node v14.x npm v6.x

安装

npm istall zgys-component -s

使用

import Vue from "vue"
// 导入组件库
import zgComponents from "zgys-component"
// 导入样式
import "zgys-component/lib/zgui.css"

// 在Vue中使用组件库
Vue.use(zgComponents)

在vue组件中使用组件库组件

<template>
    <div>
        <!-- 使用empty组件 -->
        <zg-empty />
    </div>
</template>

安装

npm run inst

### 组件打包构建

npm run build:lib

### Lints and fixes files

npm run lint

### Customize configuration
See [Configuration Reference](https://cli.vuejs.org/config/).