chore(vscode): snippets
This commit is contained in:
parent
7a3edaf816
commit
1cee27ae39
24
.vscode/vue3.code-snippets
vendored
24
.vscode/vue3.code-snippets
vendored
@ -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"],
|
||||||
|
},
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user