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"
    }
  }

猜你喜欢

转载自www.cnblogs.com/zhangjianbin/p/10771821.html