admin 发表于 2023-3-20 19:23:17

主题文件@extends继承路径怎么写啊

<h2>问题描述:</h2>

<p>主题下自定义layout用</p>

<p>@extends('app.layout')</p>

<p>引入的这个路径要怎么写啊,</p>

<p><br></p><hr>以下是回复内容:<br><div class="ub-html content">
                                                    <pre class="brush:as3;toolbar:false">module::Xxx.View.xxx 继承的是 module/Xxx/View/xxx.blade.php</pre>

<p>可以自己实现框架 frame 如放置在 module/Xxx/View/pc/frame.blade.php<br></p>

<p>使用 $extends('module::Xxx.View.xxx.pc')</p>

<p>可参考</p>

<p><ahref="https://modstart.com/doc/manual/module_theme.html">https://modstart.com/doc/manual/module_theme.html</a> </p>

<p><ahref="https://modstart.com/doc/manual/view.html">https://modstart.com/doc/manual/view.html</a></p>
                                                </div><hr><br>采集网址:<br>https://modstart.com/thread/968
页: [1]
查看完整版本: 主题文件@extends继承路径怎么写啊