We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
3.2.11
sfc.vuejs.org/
Open the reproduction, the error pops up immediately
Exported variables should be exposed to the template, as unexported ones are (compare with https://sfc.vuejs.org/#eyJBcHAudnVlIjoiPHNjcmlwdD5cbmNvbnN0IGJhciA9IDU7XG48L3NjcmlwdD5cblxuPHNjcmlwdCBzZXR1cD5cbmNvbnNvbGUubG9nKFwiSGVsbG8gd29ybGRcIilcbjwvc2NyaXB0PlxuXG48dGVtcGxhdGU+XG4gIHt7IGJhciB9fVxuPC90ZW1wbGF0ZT5cbiIsImltcG9ydC1tYXAuanNvbiI6IntcbiAgXCJpbXBvcnRzXCI6IHt9XG59In0=)
"Property "bar" was accessed during render but is not defined on instance." error
The text was updated successfully, but these errors were encountered:
fix(compiler-sfc): register exported bindings in normal script when u…
8055445
…sing script setup (#4601) fix #4600
Successfully merging a pull request may close this issue.
Version
3.2.11
Reproduction link
sfc.vuejs.org/
Steps to reproduce
Open the reproduction, the error pops up immediately
What is expected?
Exported variables should be exposed to the template, as unexported ones are (compare with https://sfc.vuejs.org/#eyJBcHAudnVlIjoiPHNjcmlwdD5cbmNvbnN0IGJhciA9IDU7XG48L3NjcmlwdD5cblxuPHNjcmlwdCBzZXR1cD5cbmNvbnNvbGUubG9nKFwiSGVsbG8gd29ybGRcIilcbjwvc2NyaXB0PlxuXG48dGVtcGxhdGU+XG4gIHt7IGJhciB9fVxuPC90ZW1wbGF0ZT5cbiIsImltcG9ydC1tYXAuanNvbiI6IntcbiAgXCJpbXBvcnRzXCI6IHt9XG59In0=)
What is actually happening?
"Property "bar" was accessed during render but is not defined on instance." error
The text was updated successfully, but these errors were encountered: