just show require url not other global route url in laravel code example
Example 1: laravel route
Route::get('user/profile', [UserProfileController::class, 'show'])->name('profile');
Example 2: routing in laravel
Route::view('/welcome', 'welcome');
Route::view('/welcome', 'welcome', ['name' => 'Taylor']);