Skip to content

Commit ba444cd

Browse files
authored
Merge pull request #56 from hcg1023/feature-docs
2 parents 4e611f3 + d01c69d commit ba444cd

File tree

5 files changed

+11
-14
lines changed

5 files changed

+11
-14
lines changed

.changeset/chatty-clocks-jog.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
'vue3-dnd': patch
3+
---
4+
5+
update readme and npm homepage

README.md

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,5 @@
11
# Vue3 Dn<img src="http://image.haochenguang.cn/pictures/vue3-dnd.svg" width="28">
22

3-
[website](https://hcg1023.github.io/vue3-dnd/) |
4-
[中文官网](https://haochenguang.gitee.io/vue3-dnd/)
5-
63
React Dnd implementation in Vue Composition-api.
74

85
**Supports Vue2 and Vue3**
@@ -22,9 +19,7 @@ If you think this project is helpful to you, I hope you can contribute a [star
2219
[![MIT License](https://img.shields.io/github/license/hcg1023/vue3-dnd.svg)](https://github.com/hcg1023/vue3-dnd/blob/main/LICENSE)
2320

2421
## Docs
25-
点击查看包中的文档(Click look the documentation in the package)
26-
27-
**[中文](packages/vue3-dnd/README_ZH.md)** | **[English](packages/vue3-dnd/README.md)**
22+
[vue3-dnd.com](https://www.vue3-dnd.com)
2823

2924
## Contributors
3025
<a href="https://github.com/hcg1023/vue3-dnd/graphs/contributors">

packages/vue3-dnd/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# Vue3 Dn<img src="http://image.haochenguang.cn/pictures/vue3-dnd.svg" width="28">
22

3-
[website](https://hcg1023.github.io/vue3-dnd/) |
4-
[中文官网](https://haochenguang.gitee.io/vue3-dnd/)
3+
## Document
4+
[vue3-dnd.com](https://www.vue3-dnd.com)
55

66
React Dnd implementation in Vue Composition-api.
77

packages/vue3-dnd/README_ZH.md

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# Vue3 Dn<img src="http://image.haochenguang.cn/pictures/vue3-dnd.svg" width="28">
22

3-
[官网](https://hcg1023.github.io/vue3-dnd/) |
4-
[国内镜像](https://haochenguang.gitee.io/vue3-dnd/)
3+
## 文档
4+
[vue3-dnd.com](https://www.vue3-dnd.com)
55

66
React Dnd 的 Composition-api 实现。
77

@@ -50,9 +50,6 @@ import { useDrag, useDrop, useDragLayer } from 'vue3-dnd'
5050
</script>
5151
```
5252

53-
## 文档
54-
[https://hcg1023.github.io/vue3-dnd/](https://hcg1023.github.io/vue3-dnd/)
55-
5653
## 注意
5754
1. **由于 composition-api 的限制,请不要尝试从 useDrag 和 useDrop 等钩子中解构 collect 参数,这样会失去响应性,例如:**
5855

packages/vue3-dnd/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@
3737
"type": "git",
3838
"url": "https://github.com/hcg1023/vue3-dnd"
3939
},
40-
"homepage": "https://hcg1023.github.io/vue3-dnd/",
40+
"homepage": "https://www.vue3-dnd.com",
4141
"bugs": "https://github.com/hcg1023/vue3-dnd/issues",
4242
"license": "MIT",
4343
"dependencies": {

0 commit comments

Comments
 (0)