vs-code 配置

vs-code 快键键

  1. 命令面板 ctrl+shift+p

vs-code 相关插件

  1. AutoFileName
  2. Chinese (Simplified) Language Pack for Visual Studio Code
  3. markdownlint
  4. npm
  5. Npm Intellisense
  6. Vetur

vue.json 代码片段配置,通过vue 快速生成vue文件中的相关结构

{
	"Print to console": {
	  "prefix": "vue",
	  "body": [
		"<!-- 模版 -->",
		"<template>",
		"  <div></div>",
		"</template>",
		"",
		"<!-- 脚本 -->",
		"<script>",
		"export default {",
		"  data () {",
		"    return {",
		"    };",
		"  },",
		"",
		"  components: {},",
		"",
		"  computed: {},",
		"",
		" // mounted: {},",
		"",
		"  methods: {}",
		"}",
		"",
		"// 样式",
		"</script>",
		"<style  scoped>",
		"</style>"
	],
	  "description": "Log output to console"
	}
  }
posted @ 2019-04-25 23:22  张建斌  阅读(169)  评论(0编辑  收藏  举报