Visual Studio Code 添加vue模板
{
"Print to console": {
"prefix": "vue",
"body": [
"/**",
"* @Author: WangHao",
"* @Date: YYYY年MM月DD日",
"* @Description: xxxx的描述",
"* @Router: /xxxx",
"* @Html: xxx.html",
"*/",
"",
"<template>",
" <div class=\"xxxx\">",
"",
" </div>",
"</template>",
"",
"<script>",
"",
"export default {",
" name: \"xxxx\",",
" components: {",
" data() {",
" return {}",
" },",
" props: {},",
" watch: {},",
" methods: {},",
" computed: {},",
" },",
" mounted() {",
" }",
"}",
"</script>",
"<style lang='scss' scoped>",
"</style>"
],
"description": "Log output to console"
}
}
网友评论