feat: 优化v3代码块

This commit is contained in:
Burt 2024-01-23 10:49:37 +08:00
parent 1a65bd681f
commit d237bf8b1a
2 changed files with 14 additions and 4 deletions

View File

@ -45,5 +45,6 @@ module.exports = {
'comment-empty-line-before': 'never', 'comment-empty-line-before': 'never',
'custom-property-empty-line-before': 'never', 'custom-property-empty-line-before': 'never',
'no-empty-source': null, 'no-empty-source': null,
'scss/comment-no-empty': null,
}, },
} }

View File

@ -20,11 +20,20 @@
"scope": "vue", "scope": "vue",
"prefix": "v3", "prefix": "v3",
"body": [ "body": [
"<route lang=\"json5\" type=\"page\">",
"{",
" style: { navigationBarTitleText: '$1' },",
"}",
"</route>\n",
"<template>", "<template>",
" <view class=\"\">$1</view>", " <view class=\"\">$2</view>",
"</template>", "</template>\n",
"<script lang=\"ts\" setup></script>", "<script lang=\"ts\" setup>",
"<style lang=\"scss\" scoped></style>\n" "//",
"</script>\n",
"<style lang=\"scss\" scoped>",
"//",
"</style>\n"
] ]
} }
} }