1
我試圖做一個簡單的模板中設置了一個頁眉和頁腳的佈局,將每一頁Laravel @layout問題
有點像訪問:
<html>
<body>
@layout('header')
<stuff here>
</body>
@layout('footer')
</html>
我有他們的名字頭.blade.php和footer.blade.php,它位於index.blade.php文件中。
但是當我運行它,它只是打印@layout( '頭')& @layout( '尾')