1.4.0 • Published 5 years ago

@dudadev/duda-svg v1.4.0

Weekly downloads
-
License
MIT
Repository
github
Last release
5 years ago

duda-svg

Install

npm install @dudadev/duda-svg

Development

  1. Getting started:
$ git clone https://github.com/dudadev/duda-svg
$ npm install
  1. See all existing SVGs:
$ npm start

Or checkout Storybook.

Add a new SVG

  1. Create a new file in the appropriate folder:
// For editor:
$ touch src/editor/svgs/my-new-svg.svg

// For runtime:
$ touch src/runtime/svgs/my-new-svg.svg
  1. Copy the SVG content into the new file, follow the guidelines here

  2. Generate the new SVG Sprite and check out the result:

$ npm run generate
  1. Publish the changes:
$ npm run publish-svg
  1. Commit and push all generated files:
$ git add .
$ git commit -m "feat: add my-svg"
$ git push
  1. Update the version number in your repository.
1.4.0

5 years ago

1.2.0

5 years ago

1.3.0

5 years ago

1.1.2

5 years ago

1.1.1

5 years ago

1.1.0

5 years ago

1.0.6

5 years ago

1.0.5

5 years ago

1.0.4

5 years ago

1.0.3

5 years ago

1.0.2

5 years ago

1.0.1

5 years ago

1.0.0

5 years ago