raviawasti
2 months ago
22
2
Vue

vuejs relationship is working in blade but not on vuejs

Posted 2 months ago by raviawasti

normal view working

@foreach($posts as $post)

@foreach($post->comment as $comment )

{{ $comment->user->name }} i ma getting user name

@endforeach

@endforeach

vuejs component

@{{comment.user.name}} -i am not getting user name

Please sign in or create an account to participate in this conversation.