From 905163d428f6c446dff773c0555f64ccb18c82a2 Mon Sep 17 00:00:00 2001 From: xianghongai Date: Mon, 8 Jul 2024 17:57:50 +0800 Subject: [PATCH] feat: release 2.3.0 --- README.md | 186 +++++++++--------- ...ng => lifecycle-hooks-composition-api.png} | Bin ...le.png => lifecycle-hooks-options-api.png} | Bin art/assets/newVue.png | Bin 22758 -> 111678 bytes art/assets/vue-language-blocks.png | Bin 12985 -> 51380 bytes art/assets/watch-composition-api.png | Bin 11841 -> 39436 bytes art/assets/watch-options-api.png | Bin 4478 -> 27859 bytes art/assets/watch.png | Bin 18721 -> 91262 bytes package.json | 2 +- src/html/built-in-directives.json | 16 +- src/html/built-in-special-elements.json | 7 +- src/javascript/03.options-data/computed.json | 9 +- src/javascript/03.options-data/index.json | 30 +-- src/javascript/03.options-data/watch.json | 9 +- src/javascript/08.options-misc/index.json | 9 +- .../component-instance.json | 5 +- .../20.composition-api/lifecycle-hooks.json | 8 + .../20.composition-api/reactivity-core.json | 14 +- src/javascript/20.composition-api/watch.json | 113 ++--------- src/vue/composition-api-hook.json | 40 ++-- src/vue/composition-api-plugin.json | 118 ++++++++++- src/vue/composition-api.json | 22 ++- src/vue/language-blocks.json | 41 +++- src/vue/options-api.json | 22 ++- 24 files changed, 350 insertions(+), 301 deletions(-) rename art/assets/{on.png => lifecycle-hooks-composition-api.png} (100%) rename art/assets/{option-lifecycle.png => lifecycle-hooks-options-api.png} (100%) diff --git a/README.md b/README.md index 8e34d5b..bb2e054 100644 --- a/README.md +++ b/README.md @@ -112,10 +112,10 @@ The `vue` prefix generates Vue Single-File Components, Some examples: | Prefix | VS Code Suggest Match | Snippet | |---------------------------------------------|-----------------------|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------| -| `vue`

`vue-options-api` | | \
  \
    \", + " ", + "", + "", "", "" - ], - "description": "Vue Script element (@vue/composition-api).\n" + ] + }, + "Vue SFC - @vue/composition-api, LESS": { + "prefix": "vue-composition-api-plugin (less)", + "body": [ + "", + "", + "", + "" + ] + }, + "Vue SFC - @vue/composition-api, PostCSS": { + "prefix": "vue-composition-api-plugin (postcss)", + "body": [ + "", + "", + "", + "" + ] + }, + "Vue SFC - @vue/composition-api, CSS": { + "prefix": "vue-composition-api-plugin (css)", + "body": [ + "", + "", + "", + "" + ] + }, + "@vue/composition-api: ", + "" + ] } -} +} \ No newline at end of file diff --git a/src/vue/composition-api.json b/src/vue/composition-api.json index 1d03608..0f3458d 100644 --- a/src/vue/composition-api.json +++ b/src/vue/composition-api.json @@ -1,6 +1,10 @@ { "Vue SFC - Composition API": { - "prefix": ["vue", "vue-composition-api"], + "prefix": [ + "vue", + "vue-composition-api", + "vca" + ], "body": [ "