Hi, I've just started using VueJs and I'm having a hard time.I'm developing a Laravel VueJs project and working on a blogging and commenting system. For this, I created a comments table with a"respond_to_id"attribute that will store the"id"of the parent comment. Then at VueJs level I retrieve these parent and child comments. But the problem is with VueJs display. Since I only reply to sub-comments, the last comment will not show up below that sub-comment.
This is the Vue.Js code I use to retrieve the child comments.
{{ commentaire.name }} répondre
{{ commentaire.contenu }}
{{ child.name }} répondre
{{ child.contenu }}
I want to know where the error lies. please help me.
The problem is that when I reply to a sub-comment, my comment doesn't show up below the sub-comment.