@npm_lx/signature-pad-for-vue3 0.0.1 → 0.0.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +3 -3
- package/package.json +6 -1
package/README.md
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
# @
|
|
1
|
+
# @npm_lx/signature-pad-for-vue3
|
|
2
2
|
|
|
3
3
|
一个基于[signature_pad](https://github.com/szimek/signature_pad)的签名板Vue3组件,支持自定义样式和多种导出格式,简单易用,可用于用户签名、合同签名等场景,可随时更换背景图片。
|
|
4
4
|
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
## 安装
|
|
7
7
|
|
|
8
8
|
```bash
|
|
9
|
-
npm install @
|
|
9
|
+
npm install @npm_lx/signature-pad-for-vue3
|
|
10
10
|
```
|
|
11
11
|
|
|
12
12
|
## 组件预览
|
|
@@ -39,7 +39,7 @@ pnpm run dev
|
|
|
39
39
|
|
|
40
40
|
<script setup>
|
|
41
41
|
import { ref } from 'vue'
|
|
42
|
-
import SignaturePad from '@
|
|
42
|
+
import SignaturePad from '@npm_lx/signature-pad-for-vue3'
|
|
43
43
|
|
|
44
44
|
const signaturePadRef = ref(null)
|
|
45
45
|
|
package/package.json
CHANGED
|
@@ -1,8 +1,13 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@npm_lx/signature-pad-for-vue3",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.3",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"private": false,
|
|
6
|
+
"homepage": "https://github.com/402931261/signature-pad-for-vue3#readme",
|
|
7
|
+
"repository": {
|
|
8
|
+
"type": "git",
|
|
9
|
+
"url": "git+https://github.com/402931261/signature-pad-for-vue3"
|
|
10
|
+
},
|
|
6
11
|
"scripts": {
|
|
7
12
|
"dev": "vite",
|
|
8
13
|
"build": "vite build",
|