0
点赞
收藏
分享

微信扫一扫

VSCode创建用户代码片段-案例demo

残北 2024-03-19 阅读 12

示例 - 在线生成代码片段

Vue3代码片段

{
	"vue3": {
        scope": "javascript,typescript,html,vue",
		"prefix": "vue3",
		"body": [
			"<template>",
			"$1",
			"</template>",
			"",
			"<script setup>",
			"import { ref, reactive } from 'vue';",
			"$2",
			"</script>",
			"",
			"<style scoped lang=\"scss\">",
			"$3",
			"</style>",
			""
		],
		"description": "快速创建vue3模板"
	}
}
举报

相关推荐

0 条评论