-
Notifications
You must be signed in to change notification settings - Fork 21
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
Custom display through default slot no longer works with Vue 3 #41
Comments
change slot-scope to |
It also needs to be moved up to the |
I know this is VERY old but @AndreasNasman was that all you had to do was change it to |
Sorry @cbloss , I don't remember anymore! I should have posted a working example; I try to do it in all my comments but forgot on this one of course. 🙈 |
All good. I may have figured it out. Thanks---------------On Sep 30, 2023, at 10:30 AM, Andreas Näsman ***@***.***> wrote:
Sorry @cbloss , I don't remember anymore! I should have posted a working example; I try to do it in all my comments but forgot on this one of course. 🙈
—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you were mentioned.Message ID: ***@***.***>
|
Hi!
I'm using a similar implementation of
he-tree-vue
as shown here:https://he-tree-vue.phphe.com/guide.html#custom-display-through-default-slot
The example above breaks when adding it to a Vue 3 project since
slot-scope
is no longer available.https://vuejs.org/v2/guide/components-slots.html#Deprecated-Syntax
I want to migrate my code to Vue 3, but I'm unsure how to refactor
slot-scope
withhe-tree-vue
. Could you update the documentation to reflect this change?Thanks!
– Andreas
The text was updated successfully, but these errors were encountered: