<input
id="user"
type="text"
value
placeholder="输入你的账号"
maxlength="12"
/>
<input
id="password"
type="password"
placeholder="输入你的密码"
maxlength="9"
/>
非常难看
我们安装Vetur插件,然后
选择 文件 ==> 首选项 ==> 设置 ==> 搜索下面这个
vetur.format.defaultFormatter.html
换成preetyhtml就好啦
<input id="user" type="text" value placeholder="输入你的账号" maxlength="12" />
<input id="password" type="password" placeholder="输入你的密码" maxlength="9" />
非常好看