VSCode写vue项目一键生成.vue模版,修改定义其他模板的方法
1. 安装一个插件,识别vue文件
{ "Print to console": { "prefix": "vue", "body": [ "<template>", " <div>", " $0", " </div>", "</template>", "", "<script>", "", " export default {", " name:'',", " props:[''],", " data () {", " return {", "", " };", " },", "", " components: {},", "", " computed: {},", "", " beforeMount() {},", "", " mounted() {},", "", " methods: {},", "", " watch: {}", "", " }", "", "</script>", "<style lang='' scoped>", "", "</style>" ], "description": "Log output to console" } }
总结
到此这篇关于VSCode写vue项目一键生成.vue模版,修改定义其他模板的方法的文章就介绍到这了,更多相关VSCode 生成vue模板内容请搜索来客网以前的文章或继续浏览下面的相关文章希望大家以后多多支持来客网!