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',
'custom-property-empty-line-before': 'never',
'no-empty-source': null,
'scss/comment-no-empty': null,
},
}

View File

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