0.1.2 • Published 2 years ago

@cailiao/watermark-helper v0.1.2

Weekly downloads
-
License
ISC
Repository
github
Last release
2 years ago

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)
0.1.2

2 years ago

0.1.1

2 years ago

0.1.0

2 years ago