feat(snippet): 增加vue文件代码片段

This commit is contained in:
cshaptx4869
2024-03-25 15:50:26 +08:00
parent 023c585c95
commit dd587d916e
3 changed files with 61 additions and 0 deletions

21
.vscode/vue3.3.code-snippets vendored Normal file
View File

@@ -0,0 +1,21 @@
{
"Vue3.3+defineOptions快速生成模板": {
"scope": "vue",
"prefix": "Vue3.3+",
"body": [
"<script setup lang=\"ts\">",
"defineOptions({",
" name: \"\",",
"});",
"</script>",
"",
"<template>",
" <div>${1:test}</div>",
"</template>",
"",
"<style lang=\"scss\" scoped></style>",
""
],
"description": "Vue3.3+defineOptions快速生成模板"
}
}