📅  最后修改于: 2022-03-11 14:54:47.734000             🧑  作者: Mango
At first give a name to your route and then use it in then use it in anchar tag
Route::get('/', function () {
return view('welcome');
})->name('welcome');
Route::get('/about', 'PagesController@about')->name('about');
Now you can use it in any page to refer them. like in contact page
..
....
Home
About