iconfont-extract
v0.0.12
Published
> TODO: description
Downloads
10
Readme
iconfont-extract
usage
Install with npm:
npm install --save-dev iconfont-extract
add iconfont-extract-config.js
module.exports = {
url: "http://at.alicdn.com/t/c/font_3216871_4g87m8dpt9c.js",
}
add script
{
"scripts": {
"icons": "iconfont-extract"
},
}
execute command
npm run icons
options
- url: icontfont js address of the generated icon library.
- outDir: output dir.
- prefix: The prefix of the generated components.