Template formatting changed in 0.34.5 #1174
-
I noticed template formatting has changed with the new version (0.34.5), here's an example of the diff: The new way seems packed and I prefer the old formatting, any way to change/revert that? |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 2 replies
-
You could use |
Beta Was this translation helpful? Give feedback.
-
I have same issues on custom-component too. on native html element seem format fine. I do follow answer add prettyhtml plugin to my project but its still format issues. any solution? |
Beta Was this translation helpful? Give feedback.
You could use
@volar-plugins/prettyhtml
, see https://github.com/johnsoncodehk/volar-starter/blob/master/volar.config.js, https://github.com/johnsoncodehk/volar-plugins/tree/master/packages/prettyhtml.