laravel return view with script code example
Example 1: return view with variable laravel
return View::make('blog')->with('posts', $posts);
Example 2: laravel return view in web.php
Route::get("/page", function(){
return View::make("dir.page");
});