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.37
https://stackblitz.com/edit/vitejs-vite-vyjpyu?terminal=dev
yarn build:server
dist/server/entry-server.js
resolveComponent("nested-test")
ssrRenderSlot
ssrRenderSlot(_ctx.$slots, name, {}, null, _push2, _parent2, _scopeId); // <-- wrong: it should not be "name" but "_ctx.name" instead
renderSlot
renderSlot(_ctx.$slots, _ctx.name),
Both calls should refer to variable name but actually the second renderer refers to _ctx.name which is different.
name
_ctx.name
It does not work as expected because the variable is undefined.
System: OS: macOS 11.4 CPU: (8) arm64 Apple M1 Memory: 93.53 MB / 16.00 GB Shell: 3.5.1 - /opt/homebrew/bin/fish Binaries: Node: 16.15.0 - ~/.nvm/versions/node/v16.15.0/bin/node Yarn: 3.2.2 - ~/.nvm/versions/node/v16.15.0/bin/yarn npm: 8.5.5 - ~/.nvm/versions/node/v16.15.0/bin/npm Browsers: Chrome: 104.0.5112.101 Firefox: 100.0.1 Safari: 14.1.1 npmPackages: vue: 3.2.37 => 3.2.37
I downgraded to [email protected] as the lowest possible compatible version with the vite plugin but even there it didn't work.
[email protected]
The text was updated successfully, but these errors were encountered:
duplicate of #7095
Sorry, something went wrong.
@edison1105 great to hear 😊 will it be in the next release?
Nothing was fixed yet, this was just closed as a duplicate of another open issue.
No branches or pull requests
Vue version
3.2.37
Link to minimal reproduction
https://stackblitz.com/edit/vitejs-vite-vyjpyu?terminal=dev
Steps to reproduce
yarn build:server
dist/server/entry-server.js
resolveComponent("nested-test")
(line 34)ssrRenderSlot
(line 43):renderSlot
(line 48)What is expected?
Both calls should refer to variable
name
but actually the second renderer refers to_ctx.name
which is different.What is actually happening?
It does not work as expected because the variable is undefined.
System Info
Any additional comments?
I downgraded to
[email protected]
as the lowest possible compatible version with the vite plugin but even there it didn't work.The text was updated successfully, but these errors were encountered: