@cailiao/watermark-helper
v0.1.2
Published
水印开发帮助工具
Downloads
1
Readme
watermark/watermark-helper
简体中文 | English
Description
A GUI for configuring the watermark plugin. Supports native web components and Vue2 components.
Getting Started
Install the dependency package:
npm i @cailiao/watermark-helper
Usage
Use web Component
import '@cailiao/watermark-helper'
After importing, you can directly use the <watermark-helper>
tag globally.
<div>
<watermark-helper />
</div>
Alternatively, you can use the Vue 2 component.
import Component from '@cailiao/watermark-helper/vue2-component'
// If your build tool does not support the `exports` field in package.json, you can also directly import the file.
import Component from '@cailiao/watermark-helper/lib/ui/dist/Component/watermarkHelperUI.esm.browser.min.js'
Vue.component('WatermarkHelper', Component)