vscode 格式化vue文件换行问题

在根目录创建文件.prettierrc

{
  "semi": false, 
  "singleQuote": true,
  "printWidth": 150
}

然后重新格式化就可以了

猜你喜欢

转载自blog.csdn.net/qq_28710983/article/details/129469425
今日推荐