# umi-plugin-antd-icon-config

> Convert icon string to antd@4

Latest version **3.0.1** (published 2022-10-24) · MIT license · 0 weekly downloads

## Install

```sh
npm install umi-plugin-antd-icon-config
pnpm add umi-plugin-antd-icon-config
yarn add umi-plugin-antd-icon-config
bun add umi-plugin-antd-icon-config
```

## Health

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

Positive: no vulnerabilities.

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

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 3.0.1 |
| Published | 2022-10-24 |
| First published | 2020-01-14 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 1 |
| Unpacked size | 10.2 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 16 |
| Maintainers | chenshuai2144 |

## Links

- npm: https://www.npmjs.com/package/umi-plugin-antd-icon-config
- Repository: https://github.com/umijs/umi-plugin-antd-icon-config
- Homepage: https://github.com/umijs/umi-plugin-antd-icon-config#readme
- Issues: https://github.com/umijs/umi-plugin-antd-icon-config/issues
- npm.io page: https://npm.io/package/umi-plugin-antd-icon-config

## Dependencies (1)

- [@ant-design/icons](https://npm.io/package/@ant-design/icons.md) ^4.0.0

## Recent versions

- 3.0.1 (latest) — 2022-10-24
- 2.0.0-1 (next) — 2020-03-03
- 2.0.4 — 2021-05-31
- 2.0.3 — 2020-04-09
- 2.0.2 — 2020-04-08
- 2.0.1 — 2020-04-04
- 2.0.0 — 2020-03-11
- 2.0.0-0 — 2020-02-26
- 1.0.3 — 2020-02-04
- 1.0.2 — 2020-01-14
- 1.0.1 — 2020-01-14
- 1.0.0 — 2020-01-14

## README

# umi-plugin-antd-icon-config

[![NPM version](https://img.shields.io/npm/v/umi-plugin-antd-icon-config.svg?style=flat)](https://npmjs.org/package/umi-plugin-antd-icon-config)
[![NPM downloads](http://img.shields.io/npm/dm/umi-plugin-antd-icon-config.svg?style=flat)](https://npmjs.org/package/umi-plugin-antd-icon-config)

Convert icon string to antd@4

由于 pro-layout 支持在 config 中 `icon:string` 的配置，但是在 4.0 中不推荐这样的用法。这个插件可以将其转化，不再引入全量的 icon。

## Install

```bash
# or yarn
$ npm install
```

```bash
$ npm run build --watch
$ npm run start
```

## Usage

Configure in `.umirc.js`,

```js
export default {
  plugins: [['umi-plugin-antd-icon-config', {}]],
};
```

## Options

TODO

## LICENSE

MIT

---
_Source: https://npm.io/package/umi-plugin-antd-icon-config · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
