0.0.11 • Published 4 years ago

@thevuong/svg-sprites v0.0.11

Weekly downloads
10
License
MIT
Repository
github
Last release
4 years ago

@thevuong/svg-sprites

npm version npm downloads Circle CI Codecov License

Create all material-design-icons svg icons into a single svg symbol file.

📖 Release Notes

Setup

  1. Add @thevuong/svg-sprites and material-design-icons dependency to your project
yarn add @thevuong/svg-sprites # or npm install @thevuong/svg-sprites
yarn add material-design-icons # or npm install material-design-icons
  1. Add @thevuong/svg-sprites to the modules section of nuxt.config.js
{
  modules: [
    // Simple usage
    '@thevuong/svg-sprites',

    // With options
    ['@thevuong/svg-sprites', { /* module options */ }]
  ]
},

svgSprites: {
  extend: [
    {
      sprite: 'material',
      input: '~/node_modules/material-design-icons/sprites/svg-sprite',
      regExp: /svg-sprite-(\w+)-symbol\.svg$/
    }
  ]
},

Development

  1. Clone this repository
  2. Install dependencies using yarn install or npm install
  3. Start development server using npm run dev

License

MIT License

Copyright (c) Vuong Phan 13298232+thevuong@users.noreply.github.com

0.0.11

4 years ago

0.0.10

4 years ago

0.0.9

4 years ago

0.0.8

4 years ago

0.0.7

4 years ago

0.0.5

4 years ago

0.0.6

4 years ago

0.0.4

4 years ago

0.0.3

4 years ago

0.0.2

4 years ago