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
This doesn't appear to function with vue 3.0. I believe the issue is related to this - From the documentation: Render Function Argument
2.x Syntax
In 2.x, the render function would automatically receive the h function (which is a conventional alias for createElement) as an argument:
// Vue 2 Render Function Example export default { render(h) { return h('div') } }
3.x Syntax
In 3.x, h is now globally imported instead of being automatically passed as an argument.
// Vue 3 Render Function Example import { h } from 'vue'
export default { render() { return h('div') } }
The text was updated successfully, but these errors were encountered:
You can go around this issue by importing import Avataaars from 'vuejs-avataaars/src/Avataaars.vue' directly.
import Avataaars from 'vuejs-avataaars/src/Avataaars.vue'
Sorry, something went wrong.
特别需要vue3.0
No branches or pull requests
This doesn't appear to function with vue 3.0. I believe the issue is related to this - From the documentation:
Render Function Argument
2.x Syntax
In 2.x, the render function would automatically receive the h function (which is a conventional alias for createElement) as an argument:
// Vue 2 Render Function Example
export default {
render(h) {
return h('div')
}
}
3.x Syntax
In 3.x, h is now globally imported instead of being automatically passed as an argument.
// Vue 3 Render Function Example
import { h } from 'vue'
export default {
render() {
return h('div')
}
}
The text was updated successfully, but these errors were encountered: