Laravel 向视图传递变量的3种方法
方法1, 复制 //routs.phpRoute::get('/about',function(){$first = 'hello';return view('about')->with('a',$first);}); 接收变量 复制...
方法1, 复制 //routs.phpRoute::get('/about',function(){$first = 'hello';return view('about')->with('a',$first);}); 接收变量 复制...