@dudadev/duda-svg

1.4.0 • Public • Published

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.

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 1.4.0
    0
    • latest

Version History

Package Sidebar

Install

npm i @dudadev/duda-svg

Weekly Downloads

0

Version

1.4.0

License

MIT

Unpacked Size

3.66 MB

Total Files

8

Last publish

Collaborators

  • dixiecarbonic
  • yoavporat
  • liady
  • russjeffery
  • idanen
  • hilakerer
  • sharon_rub
  • talkor
  • dannyr-duda
  • shira.weiss
  • roiekoper-duda
  • everett-duda