# zyjs-ui

> 基于 vue-cli3 的 UI 组件库

Latest version **0.3.0** (published 2021-01-02) · MIT license · 0 weekly downloads

## Install

```sh
npm install zyjs-ui
pnpm add zyjs-ui
yarn add zyjs-ui
bun add zyjs-ui
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support; pre 1.0.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.3.0 |
| Published | 2021-01-02 |
| First published | 2021-01-02 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 4 |
| Unpacked size | 120 KB |
| Known vulnerabilities | 0 (+1 in 1 direct dependencies) |
| Install scripts | no |
| Maintainers | stacey_1018 |
| Keywords | zyjs-ui |

## Links

- npm: https://www.npmjs.com/package/zyjs-ui
- npm.io page: https://npm.io/package/zyjs-ui

## Dependencies (4)

- [vue](https://npm.io/package/vue.md) ^2.6.11
- [vuex](https://npm.io/package/vuex.md) ^3.4.0
- [core-js](https://npm.io/package/core-js.md) ^3.6.5
- [vue-router](https://npm.io/package/vue-router.md) ^3.2.0

## Recent versions

- 0.3.0 (latest) — 2021-01-02

## README

# zyjs-ui

## Project setup
```
yarn install
```

### Compiles and hot-reloads for development
```
yarn run serve
```

### Compiles and minifies for production
```
yarn run build
```

### Run your tests
```
yarn run test
```

### Lints and fixes files
```
yarn run lint
```

### Run your unit tests
```
yarn run test:unit
```

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

### 开发过程

参考 https://juejin.cn/post/6844903808787546125

 * src目录改为example目录 用来测试组件
 * 新建packages目录 用来写组件
 * 新建vue.config.js 配置路径

 * packages/test 编写测试组件
 * 在main.js 引入组件包，测试组件
 * 打包 配置package.json
 ```
    // target: 默认为构建应用，改为 lib 即可启用构建库模式
    // name: 输出文件名
    // dest: 输出目录，默认为 dist，这里我们改为 lib
    // entry: 入口文件路径
    vue-cli-service build --target lib --name lib [entry]

    "lib": "vue-cli-service build --target lib --name zyjs-ui --dest lib packages/index.js"

 ```
  * npm run lib 生成包目录

---
_Source: https://npm.io/package/zyjs-ui · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
