0👍
No. It’s not possible. HTML is considered the "main language" of a .vue
file, JS and CSS "embedded". You can only disable formatting for embedded languages by the --embedded-language-formatting off
option. As for template
tags, the only way to keep them unformatted is to put <!--prettier-ignore-->
in front of each of them.
Source:stackexchange.com