Html 如何阻止Prettier使用旧的自动关闭标记语法
因此,我最近安装了prettier,每当我保存文件时,它都会在自动关闭标记中添加正斜杠。我想知道如何阻止它这样做 我的意思是:-Html 如何阻止Prettier使用旧的自动关闭标记语法,html,visual-studio-code,tags,prettier,Html,Visual Studio Code,Tags,Prettier,因此,我最近安装了prettier,每当我保存文件时,它都会在自动关闭标记中添加正斜杠。我想知道如何阻止它这样做 我的意思是:- <!-- Instead of this ↓ --> <input type="text"> <!-- It does this ↓ --> <input type="text" /> 提前谢谢您
<!-- Instead of this ↓ -->
<input type="text">
<!-- It does this ↓ -->
<input type="text" />
提前谢谢您