vscode中使用beautify插件格式化vue文件

**点击设置,找到beautify.language并在html一栏里加上vue,so easy!**
"beautify.language": {
        "js": {
            "type": [
                "javascript",
                "json"
            ],
            "filename": [
                ".jshintrc",
                ".jsbeautify"
            ]
        },
        "css": [
            "css",
            "scss"
        ],
        "html": [
            "htm",
            "html",
            "vue"//在这里加上vue
        ]
    }
    原文作者:all2005
    原文地址: https://segmentfault.com/a/1190000011408020
    本文转自网络文章,转载此文章仅为分享知识,如有侵权,请联系博主进行删除。
点赞