πŸ“ˆWidget

you can easy create a widget to show customers count or some counts on your resource by just 1 command

Using

to create a new widget inside your resource class you can use this command

It will ask you to input widget name and the resource class name and the module name and it will generate an action class for you like this

set your data and define the widget class on ResourceName/Components.php trait like this

you will get a button in the header of your resource

Last updated