1
我试图做一个简单的模板中设置了一个页眉和页脚的布局,将每一页Laravel @layout问题
有点像访问:
<html>
<body>
@layout('header')
<stuff here>
</body>
@layout('footer')
</html>
我有他们的名字头.blade.php和footer.blade.php,它位于index.blade.php文件中。
但是当我运行它,它只是打印@layout( '头')& @layout( '尾')