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"
    }
  }
相關文章
相關標籤/搜索