I am working on a Laravel, Vue3, and inertiajs project
This the controller function:
public function embedEvent(Request $request, Event $event)
{
return Inertia::render('V2/Admin/Events/Partials/EventIntegrationGuide', [
'event' => new EventResource($event),
]);
}
And this is the router:
Route::get('/event/embed/{event}', [EventController::class, 'embedEvent'])->name('events.embed');
This is the path of the component:
I tried these commands:
php artisan route:clear
php artisan route:cache
php artisan config:clear
php artisan config:cache
When I pushed my updates to my teammate its working fine for him.
