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
- Update the deps (of course!)
- Rename
svgo
tosvgoConfig
- 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)
]
}
}
}