@pansy/vue-watermark
v1.2.0
Published
Watermark for vue, both v2 and v3
Downloads
85
Readme
🏗 安装
# npm install
$ npm install @pansy/vue-watermark --save
# yarn install
$ yarn add @pansy/vue-watermark
🔨 使用
<template>
<Watermark :options="options">
<!-- your code -->
</Watermark>
</template>
<script>
import { Watermark } from '@pansy/vue-watermark';
export default {
components: {
Watermark,
},
data() {
return {
options: {
text: '测试水印',
}
}
}
};
</script>