Closed danie-ramdhani closed 8 months ago
Just so I have the request clear, are you asking for:
Ability to customise the default stub that's used to generate a table via the make:datatable command?
What're you trying to add as a default out of interest?
publish the datatable stub console like: https://laravel.com/docs/10.x/artisan#stub-customization
i always using a custom trait in my datatable to load some functions:
class MyTable extends DataTableComponent
{
use MyTablesConfig;
....
so, it's better to have published table.stub
whenever i want to generate a new datatable
Overview
It would be great if we can use our stub to make a small changes whenever the table component is generated
Detailed explanation
No response
Notes
No response