<?php
Route::get('/home' , returnView());
function returnView()
{
echo "hi";
}
<?php
Route::get("/home" , function(){
return "Hi to home";
});
<?php
Route::get("/" , function(){
return view('home');
});
همان صفحه اصلی دامنه
home: فایل home.html در پوشه view
درباره این سایت