Prettier VS Code v. 1.7.2
Visual Studio Code 1.29.0
When I open a *.vue file, only the JS and CSS part gets prettied on save, but not the vue template part.
In the last version this should be supported.
Am I doing something wrong?
Things which can go wrong:
OK, it works now (i had to do two things):
disable "Vetur" vscode extension
or
"vetur.format.defaultFormatter.html": "none",
"vetur.format.defaultFormatter.css": "none",
"vetur.format.defaultFormatter.postcss": "none",
"vetur.format.defaultFormatter.scss": "none",
"vetur.format.defaultFormatter.less": "none",
"vetur.format.defaultFormatter.stylus": "none",
"vetur.format.defaultFormatter.js": "none",
"vetur.format.defaultFormatter.ts": "none"
I've done all of this but still prettier only formats the javascript and css portions of my .vue files, it doesn't format the html inside the template tags
This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.
Most helpful comment
or