How to configure VS Code so that the html property of a Vue file can have the same property line as the official example when fromat?

I use vetur, I know it can

{
    "vetur.format.defaultFormatter.html": "js-beautify-html"
}

works with formatting html, but this plug-in formats all properties into one line, which looks awkward.


https://codeshelper.com/q/10.

should be the effect you want

Menu