Releases: TinaHammar/livewire-auto-routes
Releases · TinaHammar/livewire-auto-routes
Fix if property in Trait
1.1.1 Fix if property is in Trait
RouteMaker
- new: RouteMaker class
- change: Accepts
{ ?}
in traits
Example:
use Tanthammar\LivewireAutoRoutes\RouteMaker;
public function route(): RouteMaker
{
return new RouteMaker(
route: 'users/{id}/edit',
middleware: ['auth:sanctum', 'verified'],
component: static::class,
name: 'users.edit'
);
}
Add return types to Traits
1.0.1 Update readme.md
First release
1.0.0 Read me and traits