vscode代码片段
{
"Print to console": {
"prefix": "vue2",
"body": [
"<template>",
" <div>\n",
" </div>",
"</template>\n",
"<script>",
"export default {",
" name:'',",
" components: {\n",
" },",
" props: {\n",
" },",
" data() {",
" return {\n",
" };",
" },",
" computed: {\n",
" },",
" watch: {\n",
" },",
" created() {\n",
" },",
" mounted() {\n",
" },",
" methods: {\n",
" },",
"};",
"</script>\n",
"<style scoped lang=\"${1:scss}\">\n",
"</style>\n",
],
"description": "Create vue template"
},
"Print to console1": {
"prefix": "vue3",
"body": [
"<template>",
" <div>\n",
" </div>",
"</template>\n",
"<script setup>",
"import { onMounted, reactive } from 'vue';",
"onMounted(() => {});",
"</script>\n",
"<style scoped lang=\"${1:scss}\">\n",
"</style>\n",
],
"description": "Create vue template"
},
}
"Print to console": {
"prefix": "vue2",
"body": [
"<template>",
" <div>\n",
" </div>",
"</template>\n",
"<script>",
"export default {",
" name:'',",
" components: {\n",
" },",
" props: {\n",
" },",
" data() {",
" return {\n",
" };",
" },",
" computed: {\n",
" },",
" watch: {\n",
" },",
" created() {\n",
" },",
" mounted() {\n",
" },",
" methods: {\n",
" },",
"};",
"</script>\n",
"<style scoped lang=\"${1:scss}\">\n",
"</style>\n",
],
"description": "Create vue template"
},
"Print to console1": {
"prefix": "vue3",
"body": [
"<template>",
" <div>\n",
" </div>",
"</template>\n",
"<script setup>",
"import { onMounted, reactive } from 'vue';",
"onMounted(() => {});",
"</script>\n",
"<style scoped lang=\"${1:scss}\">\n",
"</style>\n",
],
"description": "Create vue template"
},
}
君不见,高堂明镜悲白发,朝如青丝暮成雪

浙公网安备 33010602011771号