Search code examples
htmlvisual-studiovue.jsnativescriptvetur

How can I stop Vetur to convert colSpan and rowSpan tags?


I am currently using nativescript-vue , I need colSpan and rowSpan tags to stay as the way it is.

rowSpan="2" is turned into rowspan="2" by Vetur code formater.

How to disable small case conversion features of Vetur?

Prettier does not correct cases but Vetur does.


Solution

  • As outlined here, you should change Vetur's default HTML formatter from prettyhtml to prettier.