vscode自定义代码块

{
    "Print to console": {
        "prefix": "vue",
        "body": [
            "<!--",
            " * @Author: 郭佳兵",
            "* @LastEditors: Please set LastEditors",
            " * @Description: $2",
            " * @Date: $3",
            "* @LastEditTime: new Date()",
            "-->",
            "<template>",
            "  <div class=\"container\">",
            "$4",
            "  </div>",
            "</template>\n",
            "<script>",
            "export default {",
            "  name: \"$1\",",
            "  data() {",
            "    return {\n",
            "    }",
            "  },",
            "  components: {\n",
            "  }",
            "}",
            "</script>\n",
            "<style lang=\"scss\" scoped>\n",
            "</style>"
        ],
        "description": "vue单文件组建模板"
    }
}
posted @ 2019-07-05 10:48  _冰  阅读(...)  评论(... 编辑 收藏