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
        ]
    }

你可能感兴趣的:(工具,element,vue)