Vue: Property $t does not exist on type after upgrade #17687
Labels
bug/1-hard-to-reproduce
A reproduction is available, but it's hard to reproduce, so it has a lower priority.
bug/1-repro-available
A reproduction is available and needs to be confirmed.
flavour/quasar-cli-vite
kind/bug 🐞
mode/spa
Qv2 🔝
Quasar v2 issues
What happened?
I upgraded my project from app-vite v1 to v2.
After (i did it 3 times to get sure) i finished the upgrade the linter found 180 errors and vue-tsc additionally 448 errors.
The lint maybe differ from the v1 version but
$t
from i18n is also marked with: Vue: Property $t does not exist on type.The project builds (with these errors) but the IDE (in my case Webstorm) and the linter / vue-tsc marks as error.
What did you expect to happen?
After the upgrade i think it will work like a fresh install. I tried a project from ground up and it worked without any problems. I also copied the files and configs from the new project to the old but without any success.
Im sure i didnt miss a step but it seems like there is a step missing.
Reproduction URL
https://github.com/Excel1/quasar-bug-repo
How to reproduce?
Disclaimer
I cant provide a reproduction repo cause its my private code and i dont get problem elsewhere / in a new project. The given repository is the one, where i copied the files from to my project where the same happen when i followed the docs.
Flavour
Quasar CLI with Vite (@quasar/cli | @quasar/app-vite)
Areas
SPA Mode
Platforms/Browsers
No response
Quasar info output
Relevant log output
Additional context
I can never be sure, that i didnt make a mistake - it always could be. But maybe some people got the same problems
The text was updated successfully, but these errors were encountered: