Types checking with Vue in Vite #530
-
Hello buddy, I am seeking some advice here again 😊 I recently transferred my project from using vue-cli (webpack) to Vite. However, there is a problem that the type checking does not work as I expected. Regards to @yyx990803 - vitejs/vite#2539 (comment) If I put something wrong in the IDE like the following picture The error can shows when the file open. However, the error will disappear if the file closes and Vite does not report any errors at all. If some bad code refactoring happens, I won't detect the errors during the compile time. Any advice would be much appreciated. Kind regards, |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 4 replies
-
See #53 Instead of It is very expensive to verify all closed files, so Volar don't do it automatically. |
Beta Was this translation helpful? Give feedback.
See #53 Instead of
tsc --noEmit
section.It is very expensive to verify all closed files, so Volar don't do it automatically.