1.2.0 • Published 7 years ago
svg-spreact-cli v1.2.0
Install
npm i -g svg-spreact-cliUsage
svg-spreact <folder> [options]Example
svg-spreact ./icons --optimize true --tidy false- Will log the output (defs
<symbols>and refs<use>). - Automatically copy the output into Clipboard
svg-spreact ./icons > sprite.svgAPI
folder
Default: ./
options
--tidy-t(boolean) default:true--optimize-o(boolean) default:true--prefix-p(string) default: ''--suffix-s(string) default: ''--classname-c(string) default: ''
Related
svg-spreact Main Package