# wug-ui

> 组件库

Latest version **0.1.1** (published 2020-12-09) · MIT license · 0 weekly downloads

## Install

```sh
npm install wug-ui
pnpm add wug-ui
yarn add wug-ui
bun add wug-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.1.1 |
| Published | 2020-12-09 |
| First published | 2020-12-09 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 5 |
| Unpacked size | 200.1 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 1 |
| Maintainers | guangwu_dev |
| Keywords | component, vue, mobile, eleme, wug, ui |

## Links

- npm: https://www.npmjs.com/package/wug-ui
- Repository: https://github.com/wug-development/wug-ui
- Homepage: https://github.com/wug-development/wug-ui#readme
- Issues: https://github.com/wug-development/wug-ui/issues
- npm.io page: https://npm.io/package/wug-ui

## Dependencies (5)

- [vue](https://npm.io/package/vue.md) ^2.6.10
- [vuex](https://npm.io/package/vuex.md) ^3.0.1
- [core-js](https://npm.io/package/core-js.md) ^2.6.5
- [vue-router](https://npm.io/package/vue-router.md) ^3.0.3
- [register-service-worker](https://npm.io/package/register-service-worker.md) ^1.6.2

## Alternatives

- [@progress/kendo-ooxml](https://npm.io/package/@progress/kendo-ooxml.md) — 152.1K weekly downloads
- [@progress/kendo-react-ripple](https://npm.io/package/@progress/kendo-react-ripple.md) — 8.0K weekly downloads
- [@progress/kendo-react-orgchart](https://npm.io/package/@progress/kendo-react-orgchart.md) — 4.3K weekly downloads
- [@praxisui/dynamic-fields](https://npm.io/package/@praxisui/dynamic-fields.md) — 2.4K weekly downloads
- [@mesalvo/react-ui](https://npm.io/package/@mesalvo/react-ui.md) — 1.7K weekly downloads

## Recent versions

- 0.1.1 (latest) — 2020-12-09
- 0.1.0 — 2020-12-09

## README

# Wug UI
组件库

## Installation
```shell
npm i wug-ui -S

# for Vue 2.x
npm i wug-ui@1 -S
```

## Usage

Import all components.

```javascript
import Vue from 'vue';
import Wug from 'wug-ui';
import 'wug-ui/lib/style.css';

Vue.use(Wug);
```

Or import specified component. (Use [babel-plugin-component](https://www.npmjs.com/package/babel-plugin-component))

```javascript
import { Cell, Checklist } from 'wug-ui';

Vue.component(Cell.name, Cell);
Vue.component(Checklist.name, Checklist);
```



Equals to

```javascript
import Vue from 'vue';
import Wug from 'wug-ui';
import 'wug-ui/lib/style.css';

Vue.use(Wug);

// import specified component

import WGRadio from 'wug-ui/lib/radio';
import 'wug-ui/lib/radio/style.css';

Vue.component(WGRadio.name, WGRadio);
```

## babel-plugin-component
- Auto import css file
- Modular import component

Installation
```shell
npm i babel-plugin-component -D
```

Usage

.babelrc
```json
{
  "plugins": ["other-plugin", ["component", [
    { "libraryName": "wug-ui", "style": true }
  ]]]
}
```

## Development
```
npm run serve
```

## License
MIT

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