初始化 antd-pro
This commit is contained in:
7
admin-web/src/components/IconFont/index.js
Normal file
7
admin-web/src/components/IconFont/index.js
Normal file
@@ -0,0 +1,7 @@
|
||||
import { Icon } from 'antd';
|
||||
import { iconfontUrl as scriptUrl } from '../../defaultSettings';
|
||||
|
||||
// 使用:
|
||||
// import IconFont from '@/components/IconFont';
|
||||
// <IconFont type='icon-demo' className='xxx-xxx' />
|
||||
export default Icon.createFromIconfontCN({ scriptUrl });
|
||||
Reference in New Issue
Block a user