-
-
Notifications
You must be signed in to change notification settings - Fork 500
Closed
Labels
questionFurther information is requestedFurther information is requested
Description
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
props: {
value: {
type: String,
required: true,
}
}when I use this v-input on parent component
<v-input v-model="xxx" />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.
Metadata
Metadata
Assignees
Labels
questionFurther information is requestedFurther information is requested

