use
$request->input('resourceId')
OR they are in the URL like /sourceName/sourceId?
Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.
Hello, I want to use nova route in my vue, but I can't get the resourceId.
For this route there are tow parameters resourceName and resourceId. I could get resourceName, but not resourceId.
:href="route('nova.pages.edit', [$page.props.resourceName, $page.props.resourceId])"
Route::get('/dashboard', function (NovaRequest $request) {
return Inertia::render('Dashboard', ['resourceName' => User::uriKey(), 'resourceId' => $request->route('resourceId') ]);
})->middleware(['auth', 'verified'])->name('dashboard');
Please or to participate in this conversation.