快速生成vue2&vue3模板

首选项-->用户片段-->搜索vue.json,输入以下代码

{
    "Print to console3": {
        "prefix": "vue3",
        "body": [
            "",
            "",
            "",
            ""
        ],
        "description": "Log output to console"
    },
    "Print to console2": {
        "prefix": "vue2",
        "body": [
            "",
            "",
            "",
            "$2"
        ],
        "description": "Log output to console"
    }
}

在.Vue的文件输入vue2时就加载了vue2的模板,输入vue3时就加载了vue3的模板









你可能感兴趣的:(快速生成vue2&vue3模板)