@yzfe/vue-svgicon-viewer
v1.0.0
Published
Preview SVG Icon
Downloads
13
Readme
vue-svgicon-viewer
Preview SVG icon
Usage
# Install global
npm install -g @yzfe/vue-svgicon-viewer
# Install in project
npm install @yzfe/vue-svgicon-viewer --dev
# preview svg icon
vsvg-viewer ./svg/folder
SVG icon display name
You can configure the SVG icon display name by specifying a json config file.
你可以通过指定配置自定义预览的 SVG 图标名称
vsvg-viewer ./svg/folder ./meta.json
meta.json example
{
"iconName": {
"name": "icon display name"
}
}