如何将巨大的 blade 文件分成小部分

how to divide huge blade file into small parts

我有一个 blade 文件,其中有超过 4k 个句子,它确实可以正常工作,但我很难编辑文件并找到我要查找的内容,因此我正在寻找一个将这个巨大的文件分成小部分以便以后轻松编辑的方法或任何解决方案。

resources/views/one.blade.php

<div>one</div>

resources/views/two.blade.php

<div>two</div>

resources/views/all.blade.php

@include('one')
@include('two')