diff --git a/README.md b/README.md index 41a3fe8..dd6e4bb 100644 --- a/README.md +++ b/README.md @@ -44,22 +44,23 @@ These snippets were made to speed up Vue 3 development. With it you can write bo ### Template -| Snippet | Purpose | -| -------------- | --------------------------------- | -| `vfor` | `v-for` statement | -| `vmodel` | `v-model` directive | -| `von` | `v-on` click handler | -| `vel-props` | Component element with `props` | -| `vslot-named` | Named slot | -| `vimg` | Image source binding | -| `vstyle` | Inline style binding | -| `vstyle-obj` | Inline style binding with objects | -| `vclass` | Class binding | -| `vclass-ter` | Ternary class binding | -| `vtrans` | Transition component | -| `vtrans-group` | Transition group component | -| `vrlink` | Router link | -| `vrlink-param` | Router link with param | +| Snippet | Purpose | +| -------------- | -------------------------------------- | +| `vfor` | `v-for` statement | +| `vmodel` | `v-model` directive | +| `von` | `v-on` click handler | +| `vel-props` | Component element with `props` | +| `vslot-named` | Named slot | +| `vimg` | Image source binding | +| `vstyle` | Inline style binding | +| `vstyle-obj` | Inline style binding with objects | +| `vclass` | Class binding | +| `vclass-ter` | Ternary class binding | +| `vtrans` | Transition component | +| `vtrans-group` | Transition group component | +| `vrlink` | Router link | +| `vrlink-param` | Router link with param | +| `vsuspense` | Suspense wrapper with fallback content | ### Script diff --git a/snippets/vue/vue-template.code-snippets b/snippets/vue/vue-template.code-snippets index 5d83e11..9fa6f22 100644 --- a/snippets/vue/vue-template.code-snippets +++ b/snippets/vue/vue-template.code-snippets @@ -89,4 +89,15 @@ ], "description": "vue router link with param" }, + "Vue Suspense Wrapper": { + "prefix": "vsuspense", + "body": [ + "", + " ", + "" + ], + "description": "Vue 3 Suspense component with fallback template" + } }