-
Notifications
You must be signed in to change notification settings - Fork 123
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I got TS error, but nuxt is not breaking the build #593
Comments
I seems this error come only if I use composition API, and script setup syntax. |
Maybe it's an issue with your editor's Vue integration? I suppose it's not Volar or Vetur but maybe Jetbrains own one? I don't have experience with that. |
Yes, jetbrain IDE . But I tried with script setup syntax and setup() function. With setup() function working fine, but with script setup no. |
If you provide a repo I can try and see if I can reproduce. But again, if Nuxt and Volar doesn't complain then it sounds like an issue with Editor integration that does the type checking. |
it would help if you can setup a repo yes. |
Repo: https://github.com/buglavecz/nuxt2-bootstrap-vue-ts-starter Stackblitz: https://stackblitz.com/github/buglavecz/nuxt2-bootstrap-vue-ts-starter the issues are in this path: thanks, for help. |
Updated the repo with |
Unfortunately I suppose the recommendation for now would be to just disable |
Describe the bug
We want use nuxt 2 with typescript support, but I don't understand why don't break the build, if the TS code is bad?
Screenshots
Additional context
I tried add the
--fail-on-error
flag to package.json, but not working.... 🤔Thanks.
The text was updated successfully, but these errors were encountered: