/css - follows laravel convention /js - follows laravel convention
/views/components - blade components, follows laravel convention /views/flux - only fluxui components and stuff /livewire/pages/ - only full page components (no Volt components, only blade views) /livewire/components/ - only normal livewire components /livewire/layouts/ - only layouts for livewire full page components
/app/Actions - Actions with no subfolders /app/Livewire/Pages/ - mirrors the blade part in /resources folder /app/Livewire/Layouts/ - mirrors the blade part in /resources folder /app/Livewire/Components/ - mirrors the blade part in /resources folder
public function __invoke(array $data)
{
$this->data = $data;
$this->authorize();
$this->validate();
return $this->execute();
}
Validate and authorize methods should use classic Laravel approach, it will be caught by Livewire to get the end user the proper feedback.