We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
yyx990803
Learn more about funding links in repositories.
Report abuse
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.27
sfc.vuejs.org/
Check out the PLayground. it fails with $ref is not defined
$ref is not defined
The Test.ts file in the playground has instructions for a workaround, demonstrating the transform only fails when used on an export
export
$ref() is being transformed, and App.vue succeeds in importing and using the export.
$ref()
$ref() is left in the code untransformed, leading to a ReferenceError at runtime.
The text was updated successfully, but these errors were encountered:
will also fail with a preceding label
some_label: var test=$ref(1)
Sorry, something went wrong.
a81a992
fix(reactivity-transform): apply transform for labelled variable decl…
a05b000
…arations ref #5298 (comment)
No branches or pull requests
Version
3.2.27
Reproduction link
sfc.vuejs.org/
Steps to reproduce
Check out the PLayground. it fails with
$ref is not defined
The Test.ts file in the playground has instructions for a workaround, demonstrating the transform only fails when used on an
export
What is expected?
$ref()
is being transformed, and App.vue succeeds in importing and using the export.What is actually happening?
$ref()
is left in the code untransformed, leading to a ReferenceError at runtime.Found by a user and reported here originally: vuejs/rfcs#369 (reply in thread)
The text was updated successfully, but these errors were encountered: