Skip to content
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

Vue - Official still uses the vue3 template rules for template syntax validation when specifying vue2.7+ templates. #3959

Closed
curlykay opened this issue Mar 4, 2024 · 6 comments · Fixed by #4211
Labels
bug Something isn't working

Comments

@curlykay
Copy link

curlykay commented Mar 4, 2024

project envs:
vue : 2.7.16
Vue - Official : 2.0.3

In vue 2.7 <template> cannot be keyed,but Vue - Official now warns:
image

The vueCompilerOptions.target has been configured in tsconfig.json to 2.7
image

@curlykay curlykay changed the title Vue - Official template liners in the vue2 project, using some liners specific to vue3. Vue - Official template linters in the vue2 project, using some linters specific to vue3. Mar 4, 2024
@curlykay curlykay changed the title Vue - Official template linters in the vue2 project, using some linters specific to vue3. Vue - Official still uses the vue3 template rules for template syntax validation when specifying vue2.7+ templates. Mar 5, 2024
@c0lt
Copy link

c0lt commented Mar 6, 2024

This worked in 1.8 and makes it hard to use the extension now as it shows "errors" in many files and you don't really know if a file really has an error without checking it.

@c0lt
Copy link

c0lt commented Mar 20, 2024

Seems to be fixed in 2.0.7. I don't get the errors anymore. Thanks!

@jhxxs
Copy link

jhxxs commented Mar 25, 2024

Seems to be fixed in 2.0.7. I don't get the errors anymore. Thanks!

still exsits in 2.0.7

@adrienWeiss
Copy link

confirmed here that 2.0.7 fixes that false positive error in particular. I will report any other, if any

@jhxxs
Copy link

jhxxs commented Mar 28, 2024

confirmed here that 2.0.7 fixes that false positive error in particular. I will report any other, if any

but why do I still get this error🥲

@whitexie
Copy link

confirmed here that 2.0.7 fixes that false positive error in particular. I will report any other, if any

but why do I still get this error🥲

turn off hybrid mode.
image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

6 participants