The real reason is that prettier is used for JS by default. Useconfig adds the following solution { "vetur.format.defaultFormatter.js": "vscode-typescript",. }.
確定! 回上一頁