get view response laravel code example
Example 1: laravel return view in web.php
Route::get("/page", function(){
return View::make("dir.page");
});
Example 2: laravel return response view
return response()->view('your_view', compact('variableName'));