laravel 8 Route::domain code example
Example: laravel 8 route
Route::get(
'/user/profile',
[UserProfileController::class, 'show']
)->name('profile');
Route::get(
'/user/profile',
[UserProfileController::class, 'show']
)->name('profile');