vscode设置中搜索vetur.format.defaultFormatter.js
选择vscode-typescript
在项目根目录下新建.prettierrc.json
{
"singleQuote":true,
"semi":false
}
vscode设置中搜索vetur.format.defaultFormatter.js
选择vscode-typescript
在项目根目录下新建.prettierrc.json
{
"singleQuote":true,
"semi":false
}