-
-
Notifications
You must be signed in to change notification settings - Fork 428
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 2 support ? #273
Comments
No it's not, On the other hand, you can use Vue 3 template compiler in Vue 2. https://blog.ninja-squad.com/2021/06/07/what-is-new-vue-3.1/ |
@johnsoncodehk I know Vue 3.1 compat build, but how ? Should I use vetur instead of volar ? But vetur not support slot type-checker. so sad. |
You need to choose. If you need type support based entirely on Vue 2, please use Vetur. |
I think push vetur support slot type-checker and official globalComponent typings is better. Thanks. |
It cannot be used in many apps, because Maybe you can add some workaround for this case with |
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
Due to the good progress recently, I consider to support vue 2 template in some way. |
Please track #346 |
Thanks for this great plugin/lsp.
the document said when you install
@vue/runtime-dom
, volar/vue-tsc support Vue 2, is it really that smooth ?I create a Vue 2 app with @vue/composition-api by vue-cli, and the first step is v-model handler.
Vue 2 v-model means props.value + emit input & Vue 3 is modelValue + emit onUpdate:modelValue, how volar handle this different ?
repro link: https://github.com/IndexXuan/vue2-volar-test-app/blob/master/src/views/Home.vue#L9
when I have a v-input component
when I use this v-input on parent component
It will ends up with error.
Also there are some template key warning(Vue 2 should place key at child), not big problem.
Thanks for you help.
The text was updated successfully, but these errors were encountered: