1. 程式人生 > >vscode常用程式碼片段(持續更新)

vscode常用程式碼片段(持續更新)

"Print to console": {
        "prefix": "te",
        "body": [
            "<template>",
            "  <div></div>",
            "</template>",
            "",
            "<script>",
            "export default {",
            "  data() {",
            "    return {",
            "    }"
, " },", "", " components: {},", "", " computed: {},", "", " mounted: {},", "", " methods: {}", "}", "", "</script>", "<style lang='scss' scoped>"
, "</style>" ], "description": "vue-template" }, "Print to response": { "prefix": "res", "body": [ ".then(", " response => {$1}", ")" ], "description": "vue-template" }