feat(vscode): 添加带 definePage 的 unibest 脚本代码片段
This commit is contained in:
13
.vscode/vue3.code-snippets
vendored
13
.vscode/vue3.code-snippets
vendored
@@ -52,6 +52,19 @@
|
|||||||
"</script>\n"
|
"</script>\n"
|
||||||
],
|
],
|
||||||
},
|
},
|
||||||
|
"Print unibest script with definePage": {
|
||||||
|
"scope": "vue",
|
||||||
|
"prefix": "scdp",
|
||||||
|
"body": [
|
||||||
|
"<script lang=\"ts\" setup>",
|
||||||
|
"definePage({",
|
||||||
|
" style: {",
|
||||||
|
" navigationBarTitleText: '$1',",
|
||||||
|
" },",
|
||||||
|
"})",
|
||||||
|
"</script>\n"
|
||||||
|
],
|
||||||
|
},
|
||||||
"Print unibest template": {
|
"Print unibest template": {
|
||||||
"scope": "vue",
|
"scope": "vue",
|
||||||
"prefix": "te",
|
"prefix": "te",
|
||||||
|
|||||||
Reference in New Issue
Block a user