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

    Install

    npm i @yzfe/vue-svgicon-viewer

    DownloadsWeekly Downloads

    18

    Version

    1.0.0

    License

    ISC

    Unpacked Size

    298 kB

    Total Files

    22

    Last publish

    Collaborators

    • allenice
    • allenmo
    • vfasky