Skip to content

v1.0.0

Latest
Compare
Choose a tag to compare
@TheAlexLichter TheAlexLichter released this 09 Jan 15:30
· 14 commits to master since this release

Tada!

We switched to https://github.com/egoist/svg-to-vue-component under the hood!
Though the implementation should be (almost) a drop-in replacement, we've tagged breaking changes because of different defaults and because 1.0.0 should've been tagged long time ago.

Migrating from 0.x

  1. Update the deps (of course!)
  2. Rename svgo to svgoConfig
  3. If you used id prefixing manually before, you can delete the config:
export default {
  svgLoader: {
    svgo: { //Rename to svgoConfig  
      plugins: [
        { prefixIds: true } // Delete that line (or the whole svgLoader object if you don't have any other configurations)
      ]
    }
  }
}