orchidsoftware / platform

Orchid is a @laravel package that allows for rapid application development of back-office applications, admin/user panels, and dashboards.
https://orchid.software
MIT License
4.26k stars 631 forks source link

Add frontend controller in screen. #2835

Closed DarKsandr closed 1 month ago

DarKsandr commented 1 month ago

Added the ability to assign a stimulus controller to the screen. Usage:

class PlatformScreen extends Screen
{
    ...

    public function frontendController(): string
    {
        return 'hello';
    }

    ...
}
DarKsandr commented 1 month ago

@tabuna