Skip to content

Commit 25c0919

Browse files
committed
vue-script snippets #8
1 parent 81c0002 commit 25c0919

File tree

1 file changed

+22
-0
lines changed

1 file changed

+22
-0
lines changed

README.md

+22
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,28 @@ These snippets were made to speed up Vue 3 development. With it you can write bo
5050
| `vrlink` | Router link |
5151
| `vrlink-param` | Router link with param |
5252

53+
### Script
54+
55+
| Snippet | Purpose |
56+
| ------------------------ | ------------------------------------------- |
57+
| `vref` | Vue ref |
58+
| `vreactive` | Vue reactive |
59+
| `vcomputed` | Vue computed |
60+
| `vwatch` | Watcher |
61+
| `vwatcheffect` | Watch Effect |
62+
| `vonmounted` | onMounted hook |
63+
| `vonbeforemount` | onBeforeMount hook |
64+
| `vonbeforeupdate` | onBeforeUpdate hook |
65+
| `vonupdated` | onUpdated hook |
66+
| `vonerrorcaptured` | onErrorCaptured hook |
67+
| `vonunmounted` | onUnmounted hook |
68+
| `vonbeforeunmount` | onBeforeUnmount hook |
69+
| `vdefineprops` | Define props |
70+
| `vdefineemits` | Define emits |
71+
| `vdefineemits-nopayload` | Define emits with no payload |
72+
| `vsingleemit` | Single emit for defineEmits |
73+
| `vsingleemit-nopayload` | Single emit for defineEmits with no payload |
74+
5375
## Contributing
5476

5577
This is an open source project open to anyone. Contributors are welcome on [GitHub](https://github.com/exer7um/vue3-vscode-snippets).

0 commit comments

Comments
 (0)