Acrool Icon Symbols CLI
Sync acrool icon symbols to your project with a single command.
Quickly pull and synchronize icon-symbols from acrool without manual downloading, unzipping and copying files.
Features
- Quick synchronization with acrool/icon-symbols
Install
yarn add -D @acrool/icon-symbols-cli
Use
add to project root .acrool-icon-symbols
module.exports = {
token: 'im',
id: 'xxxx',
path: 'src/library/acrool-react-icon/SvgSymbol.tsx',
};
run pull
npx acrool-icon-symbols pull
Here is a faster way
your can add in your package.json
{
"scripts": {
"dev": "next dev",
"icon:pull": "acrool-icon-symbols-cli pull"
}
}
fast run
yarn icon:pull
Develop test
build
yarn build && npx acrool-icon-symbols-cli pull
License
MIT Š Acrool & Imagine