New issue
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
Recursive components support #1174
Comments
Updated to add a reproduction. Hopefully, you will use that fiddle to create a reproduction in the future 🙂 |
This is not a valid component definition. async components need to be wrapped with
Updated, working Fiddle: https://jsfiddle.net/9x2owt7m/ |
In vue 2.x, I globally registered recursive components, but on version 3.x I do not know how to do this |
You can do let app = createApp(App)
app.component('Recursive', Recursive) |
Thanks! |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Version
3.0.0-beta.12
Reproduction
https://jsfiddle.net/posva/g04vta1f/
Steps to reproduce
What is expected?
Сomponents are rendered.
What is actually happening?
Warn in console:
Failed to resolve component: Foo
The problem is reproduced if you use
import Foo from './Foo.vue';
If you try the example from edge cases for vue 2, then another error will occur:
Invalid VNode type: undefined (undefined)
.The text was updated successfully, but these errors were encountered: