#Laravel Inertia route()

2 messages · Page 1 of 1 (latest)

unreal thunder
#

so im using react as front end, in the FE i can do this route('role.store') just like in the laravel, how is that possible? i dont even import route, how they make that? how do i make global function without importing?

royal trout
#

Because you installed Ziggy, that's the package that generates all routes on the frontend etc