@yzfe/vue-svgicon-viewer

1.0.0 • Public • Published

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"
    }
}

Versions

Current Tags

VersionDownloads (Last 7 Days)Tag
1.0.0-alpha.30next
1.0.08latest

Version History

VersionDownloads (Last 7 Days)Published
1.0.08
1.0.0-alpha.30
1.0.0-alpha.20
1.0.0-alpha.12
1.0.0-alpha.00

Package Sidebar

Install

npm i @yzfe/vue-svgicon-viewer

Weekly Downloads

10

Version

1.0.0

License

ISC

Unpacked Size

298 kB

Total Files

22

Last publish

Collaborators

  • allenice
  • allenmo
  • vfasky