-
-
Notifications
You must be signed in to change notification settings - Fork 443
[Bug] The type definition of props is missing in the template. #3592
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
Labels
bug
Something isn't working
good reproduction ✨
This issue provides a good reproduction, we will be able to investigate it first
Comments
Sorry. I forgot to add more information. I use And I test |
If I downgrade the version of volar to 1.8.13, everything will be normal. |
<script setup>
const props = defineProps({
msg: String
})
</script>
<template>
{{ msg }} <!-- msg is undefined -->
{{ props.msg }} <!-- this is ok -->
</template> You mean this? |
Yes! And I use vue2. |
johnsoncodehk
added a commit
that referenced
this issue
Oct 8, 2023
Co-authored-by: Johnson Chu <[email protected]>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
bug
Something isn't working
good reproduction ✨
This issue provides a good reproduction, we will be able to investigate it first
Uh oh!
There was an error while loading. Please reload this page.
volar version : 1.8.14
The text was updated successfully, but these errors were encountered: