http://serializedowen.github.io/vue-img-watermark/
npm install --save @serializedowen/vue-img-watermarkyarn add @serializedowen/vue-img-watermarkimport plugin from '@serializedowen/vue-img-watermark'
Vue.use(plugin)<img src="xxx" v-watermark />v-watermark on your <img> tag to generate watermark for your imagefully customizable with configuration object.
setScopedConfig() in beforeCreate hook in your vue component to scope configuration to that particular vue componentv-watermark={{config: OptionConfig}} to customize watermark behaviorregisterCustomStrategy() which you can later on use with {mode: name of your strategy} :grinning:canvas.drawImage() has to be wrapped in a setTimeout() call to work, reason to be identified.