mirror of
https://gitee.com/hyperf/hyperf.git
synced 2024-11-29 18:27:44 +08:00
Update view-engine.md (#3747)
This commit is contained in:
parent
7b185a37a7
commit
0941efcff2
@ -82,7 +82,7 @@ When defining a subview, use the `@extends` directive of `Blade` to specify the
|
||||
As shown in the previous example, the content of these fragments will be controlled and displayed by the `@yield` directive in the layout:
|
||||
|
||||
```blade
|
||||
<!-- Stored in resources/views/child.blade.php -->
|
||||
<!-- Stored in storage/view/child.blade.php -->
|
||||
|
||||
@extends('layouts.app')
|
||||
|
||||
|
@ -82,7 +82,7 @@ return [
|
||||
就如前面的示例中所示,这些片段的内容将由布局中的 `@yield` 指令控制显示:
|
||||
|
||||
```blade
|
||||
<!-- Stored in resources/views/child.blade.php -->
|
||||
<!-- Stored in storage/view/child.blade.php -->
|
||||
|
||||
@extends('layouts.app')
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user