Skip to content

yyh0808/nebula-graph-icon

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

53 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Usage

npm install --save @vesoft-inc/icons

Each svg-tpl.cjs file nestled within the lib subdirectories proffers an exportation of the SVG Icon Element string.

import SVGElement from '@vesoft-inc/icons/lib/NebulaGraph-Explorer/svg-tpl.cjs';

// inject `SVGElement` string into your html

Build

npm install
npm run build

After build, the dist directory will be generated, and the directory structure is as follows:

dist
├── NebulaGraph-Cloud
│   └── svg.tpl
├── NebulaGraph-Dashboard
│   └── svg.tpl
├── NebulaGraph-Explorer
│   └── svg.tpl
├── NebulaGraph-Interface-Guidelines
│   └── svg.tpl
├── NebulaGraph-Studio
│   └── svg.tpl
└── NebulaGraph-Website
    └── svg.tpl

Publish

# npm publish --tag beta
# npm publish

Auto Publish: push code to mian branch, github workflow will be triggered automatically.

  • 1.0.0-beta.x will be published as a beta package
  • 1.0.0 will be published as a normal package

Preview