0.1.0 • Published 2 years ago
@fexd/icons v0.1.0
icons
Icons 组件库
安装
yarn add @fexd/icons
# 或者
npm install @fexd/icons --save
按需加载
配合 babel-plugin-import 实现按需加载
// babel.config.js
module.exports = {
plugins: [
[
'babel-plugin-import',
{
libraryName: '@fexd/icons',
camel2DashComponentName: false,
},
'@fexd/icons',
],
],
}