1.0.1 • Published 5 years ago

vue-svg-converter v1.0.1

Weekly downloads
1
License
ISC
Repository
-
Last release
5 years ago

Vue-SVG Converter

vue-svg-converter is a cli tool for converting svg files into wrapped vue components. The created component will be stored alongside the svg when created and will contain template, script and style tags.

The created file will share the same name as the svg and will contain a class injection by default.

NOTE: If setting newlineAttributes to true, it will break lines for attributes if there are 2 or more attributes.

installation

npm i vuesvg -g

Usage

Open menu:

  vuesvg

Get Help:

  vuesvg help

Using Args:

  vuesvg ./my/image.svg 4 true

Args

Arg NameRequiredDefaultType
svgPathyesString
spacesno2Number
/n attributesnofalseBoolean
1.0.1

5 years ago

1.0.0

5 years ago