chore(vscode): snippets

This commit is contained in:
菲鸽 2024-02-22 20:44:57 +08:00
parent 7a3edaf816
commit 1cee27ae39

View File

@ -15,8 +15,7 @@
// ], // ],
// "description": "Log output to console" // "description": "Log output to console"
// } // }
"Print unibest Vue3 SFC": {
"Print Vue3 Uniapp SFC": {
"scope": "vue", "scope": "vue",
"prefix": "v3", "prefix": "v3",
"body": [ "body": [
@ -33,7 +32,22 @@
"</script>\n", "</script>\n",
"<style lang=\"scss\" scoped>", "<style lang=\"scss\" scoped>",
"//", "//",
"</style>\n" "</style>\n",
] ],
} },
"Print unibest style": {
"scope": "vue",
"prefix": "st",
"body": ["<style lang=\"scss\" scoped>", "//", "</style>\n"],
},
"Print unibest script": {
"scope": "vue",
"prefix": "sc",
"body": ["<script lang=\"ts\" setup>", "//$3", "</script>\n"],
},
"Print unibest template": {
"scope": "vue",
"prefix": "te",
"body": ["<template>", " <view class=\"\">$1</view>", "</template>\n"],
},
} }