Answers for "Inertia JS"

0

Inertia JS

use Inertia\Inertia;

class EventsController extends Controller
{
    public function show(Event $event)
    {
        return Inertia::render('Event/Show', [
            'event' => $event->only(
                'id',
                'title',
                'start_date',
                'description'
            ),
        ]);
    }
}
Posted by: Guest on April-21-2022

Code answers related to "Inertia JS"

Code answers related to "Javascript"

Browse Popular Code Answers by Language