[Vuejs]-IntelliJ using TypeScript 5.0.3 to compile Vue project instead of Vue TypeScript

2πŸ‘

βœ…

In IDEA 2023.1, Typescript language service is turned off for .vue files if the Typescript version is 5.x because the Vue language service is not compatible with typescript@5 that introduced some breaking changes, please see https://youtrack.jetbrains.com/issue/WEB-60063/IDE-shows-incorrect-errors-for-import-statements-with-Typescript-5.0-in-Vue-SFC#focus=Comments-27-7057634.0-0

As a workaround, you can try changing the typescript version to Bundled in Settings | Languages & Frameworks | TypeScript

Leave a comment