Vue 3.4 same-name shorthand vs-code support

78 views Asked by At

I recently upgaraded my Vue 3 project to Vue 3.4. When I tried to use same-name shorthand, even though it was working fine, vs-code is highlighting it as an error, I am using volar. Is there any way to make vs-code understand this new Vue 3 syntax?

enter image description here

UPDATE

This issue is fixed now https://github.com/vuejs/language-tools/pull/3831

1

There are 1 answers

1
Alexander Nenashev On

The current version of Volar doesn't support it yet, there's an issue opened, you could vote:

https://github.com/vuejs/language-tools/issues/3830