umi-plugin-antd-icon-config

3.0.1 • Public • Published

umi-plugin-antd-icon-config

NPM version NPM downloads

Convert icon string to antd@4

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

Install

# or yarn
$ npm install
$ npm run build --watch
$ npm run start

Usage

Configure in .umirc.js,

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

Options

TODO

LICENSE

MIT

Readme

Keywords

none

Package Sidebar

Install

npm i umi-plugin-antd-icon-config

Weekly Downloads

3,262

Version

3.0.1

License

MIT

Unpacked Size

10.4 kB

Total Files

7

Last publish

Collaborators

  • chenshuai2144