Open anburocky3 opened 3 years ago
They updated Prettier in Vetur's 0.34
to Prettier 2.3
. Naturally, such an update should be downwards-compatible, but it requires you to reformat most of your templates based on a new, breaking change. You should be good if you stick with Vetur 0.33.1
for a while which still uses Prettier 2.2
. The issue and its major impact on others can be tracked here; maybe they manage to resolve it.
You can customize format options. https://vuejs.github.io/vetur/guide/formatting.html
Prettier is for JS right? For Tailwind CSS, which format do i use to collapse it in single line, instead of multiple class lines.?
Prettier is for JS right? For Tailwind CSS, which format do i use to collapse it in single line, instead of multiple class lines.?
Prettier also can format HTML templates. Prettier doesn't have option to disable it in this issue. https://github.com/prettier/prettier/issues/10918 I think you can modify it to another formatter or use the prettier plugin.
This was reverted a few days ago so vetur just needs to update to 2.5
Uhh! It is very difficult in using Tailwind CSS with vetur extension, Every CSS is formatted in a single line, Face with rolling eyes
How to make it a single line?
Problems: