Skip to content

Latest commit

 

History

History
11 lines (9 loc) · 481 Bytes

README.md

File metadata and controls

11 lines (9 loc) · 481 Bytes

Svg to vue

Project Description

This script helps to batch generate vue templates from svg files

Instructions

  • Run npm install to install dependencies
  • Place svg files under input directory
  • Run npm run svg2vue and vue templates would be generated to output directory
  • You can set input and output directories by running npm run svg2vue <path/to/input/directory> <path/to/output/directory>
  • You can also choose to generate jsx with npm run svg2jsx