1. Home
  2. Laravel
  3. Route

Basic route example returning a view. Routes are located in the /routes folder of your application.

#laravel#route#view
Route::get('/', function(){
    return view('dashboard');
});
copy
Full Laravel cheatsheet