# xiaowin-ui

> React Personal component library

Latest version **1.0.1** (published 2021-12-17) · 0 weekly downloads

## Install

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

## Health

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

Positive: has types; esm support; no vulnerabilities; high quality score.

Warnings: low downloads.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.0.1 |
| Published | 2021-12-17 |
| First published | 2021-12-10 |
| Weekly downloads | 0 |
| TypeScript types | bundled |
| Module format | ESM + CommonJS |
| Dependencies | 5 |
| Unpacked size | 775 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 10 |
| Maintainers | xiaowin |
| Keywords | react, library, component, dumi |

## Links

- npm: https://www.npmjs.com/package/xiaowin-ui
- Repository: https://github.com/1061603885/xiaowin-ui
- Homepage: https://1061603885.github.io/xiaowin-ui/
- Issues: https://github.com/1061603885/xiaowin-ui/issues
- npm.io page: https://npm.io/package/xiaowin-ui

## Dependencies (5)

- [react](https://npm.io/package/react.md) ^16.12.0 || ^17.0.0
- [classnames](https://npm.io/package/classnames.md) ^2.3.1
- [sass-loader](https://npm.io/package/sass-loader.md) ^12.4.0
- [@umijs/plugin-sass](https://npm.io/package/@umijs/plugin-sass.md) ^1.1.1
- [umi-plugin-gh-pages](https://npm.io/package/umi-plugin-gh-pages.md) ^1.0.1

## Alternatives

- [mobx-react](https://npm.io/package/mobx-react.md) — 2.8M weekly downloads
- [rc-tree](https://npm.io/package/rc-tree.md) — 2.6M weekly downloads
- [@react-oauth/google](https://npm.io/package/@react-oauth/google.md) — 1.3M weekly downloads
- [@wagmi/connectors](https://npm.io/package/@wagmi/connectors.md) — 877.0K weekly downloads
- [vee-validate](https://npm.io/package/vee-validate.md) — 836.4K weekly downloads

## Recent versions

- 1.0.1 (latest) — 2021-12-17
- 1.0.0 — 2021-12-10

## README

<!--
 * @Descripttion: Bernard
 * @Author: xiaowin
 * @Date: 2021-11-22 16:43:09
 * @LastEditors: guoqiang
 * @LastEditTime: 2021-12-13 18:06:11
 * @Copyright:  ©云粒智慧科技有限公司 All rights reserved
-->

### 文档地址放在开头

[文档传送门]](https://1061603885.github.io/xiaowin-ui/)

**使用 npm 或 yarn 安装**

```shell
npm install xiaowin-ui
```

```shell
yarn add xiaowin-ui
```

### 自动按需加载

使用 [babel-plugin-import ](https://www.npmjs.com/package/babel-plugin-import) 优化引入方式，如下：

```js
import { Button } from 'xiaowin-ui'; // 与上述示例等价

ReactDOM.render(<Button type="primary">按钮</Button>, mountNode);
```

安装 `babel-plugin-import`

```
yarn add babel-plugin-import --dev
```

配置`.babelrc` 或 `babel-loader`

```json
{
  "plugins": [
    [
      "import",
      {
        "libraryName": "@zzzzw/happy-ui",
        "libraryDirectory": "esm", // default: lib
        "style": true // or 'css'
      }
    ]
  ]
}
```

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