D
D
DocTypeMaster2021-09-15 16:09:11
Laravel
DocTypeMaster, 2021-09-15 16:09:11

How to make a system of nested comments (threads) on laravel + vue?

Friends, it became necessary to make a comment system for a post, but not simple, but with a nested discussion (threads) like here on Habré, for example. I use Laravel + View, I watched a video on YouTube, but everything is running Laravel 5.x, and I need it under the 8th, but it’s not only about the Laravel version, but also about the performance of the entire git that was left under the video.

In addition to one video, I did not find any working examples or articles about this, if you have information or you have done something similar, share it, I will be very happy.
Well, in view of the fact that your development is still your intellectual property, leave at least links to examples of the operation of such a message module.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
P
pLavrenov, 2021-09-15
@pLavrenov

Laravel is not WordPress. This is a framework for programmers. The chance of finding a ready-made solution is not very great. The task is simple, but easy for programmers.
Two ways:
1) Since it is clear from the post that the author has nothing to do with this. link for those who do not know how
2) This option is for those who want to learn , if you read the documentation completely, it will become clear which way to look. Such a simple task, it seems to me, can be assembled from code examples from the documentation.
What you need to solve:
0) migrations
1) routing
2) eloquent
3) relationships

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question