Skip to content

Commit 2536738

Browse files
author
feige996
committed
feat(vscode): 添加带 definePage 的 unibest 脚本代码片段
1 parent ddd9b8d commit 2536738

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

.vscode/vue3.code-snippets

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,19 @@
5252
"</script>\n"
5353
],
5454
},
55+
"Print unibest script with definePage": {
56+
"scope": "vue",
57+
"prefix": "scdp",
58+
"body": [
59+
"<script lang=\"ts\" setup>",
60+
"definePage({",
61+
" style: {",
62+
" navigationBarTitleText: '$1',",
63+
" },",
64+
"})",
65+
"</script>\n"
66+
],
67+
},
5568
"Print unibest template": {
5669
"scope": "vue",
5770
"prefix": "te",

0 commit comments

Comments
 (0)