标签“嵌套”的相关文档,共1条
  • laravel的blade模板的布局嵌套

    laravel的blade模板的布局嵌套测试路由Route::get(/,function(){$value=[1,2,3];returnview(home.index,array(data=>$value));});views下面的目录结构/Applications/MAMP/htdocs/testApp/resources/viewsmac:viewsmmc$tree.├──home│└──index.blade.php├──mylayout│└──test_layout.blade.phpindex.blade.php@extends(mylayout.test_layout)@section(aaa)<?phpdd($data);foreach($dataas$item){echo$it...

    14.84 KB
确认删除?