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.0.0-rc.8
https://codesandbox.io/s/weathered-bush-fd9mf?file=/src/LabeledIcon.vue
Creating a render function component that looks something like this:
import { h, cloneVNode } from "vue"; export default { setup(props, { slots }) { const [span] = slots.default(); return () => cloneVNode(span, { class: ["foo", "bar"] }); } };
...will ultimately render something like instead of .
Should treat the class property like the class prop, and support array syntax, object syntax, etc.
class
Classes appear to just be joined with ",", looks like Array.toString() sort of behavior.
The text was updated successfully, but these errors were encountered:
fix(runtime-core): class and style should be properly normalized in c…
9153fc2
…loneVNode (#1967) fix #1964
Successfully merging a pull request may close this issue.
Version
3.0.0-rc.8
Reproduction link
https://codesandbox.io/s/weathered-bush-fd9mf?file=/src/LabeledIcon.vue
Steps to reproduce
Creating a render function component that looks something like this:
...will ultimately render something like instead of .
What is expected?
Should treat the
class
property like theclass
prop, and support array syntax, object syntax, etc.What is actually happening?
Classes appear to just be joined with ",", looks like Array.toString() sort of behavior.
The text was updated successfully, but these errors were encountered: