After diving into Laravel 8 with Yajra DataTable, I decided to explore Infyom Laravel-Generator, a promising package.
My initial attempt at creating a test app with a Yajra DataTable seemed successful at first glance. However, after adding a record to the table and refreshing the page, it still showed no records.
Furthermore, there was a noticeable absence of a Search input on the page.
Despite checking the Laravel logs, I found nothing peculiar. In fact, when inspecting the page in Firefox's dev mode, I didn't see any XHR requests - a red flag compared to usual data table behavior.
Upon delving into the source code of the web page, I noticed the absence of any datatable scripts.
It appears that the issue lies within the generation script itself. The command I used was:
php artisan infyom:scaffold Es5 --fromTable --tableName=es5 --datatables=true
I would greatly appreciate any guidance in debugging or explaining this situation.
Thank you in advance for your assistance.
PS: Please feel free to request specific code snippets, although I am uncertain which sections would be most helpful at the current moment.