Can't fetch data from database laravel


I followed the laravel gantt video and i’m running into some problems with loading the data from the database in the gantt chart. I managed to get it in with a foreach loop but it doesn’t seem to work with the gantt.load() function.


It seems that you need to check your URL that you use to load tasks. There is an article to check that you correctly specified the gantt.load function:
If it doesn’t help, you can send a simplified demo with all necessary files, so that I can reproduce the issue locally.