Update view-engine.md (#3747)

This commit is contained in:
沈唁 2021-06-26 17:57:43 +08:00 committed by GitHub
parent 7b185a37a7
commit 0941efcff2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View File

@ -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')

View File

@ -82,7 +82,7 @@ return [
就如前面的示例中所示,这些片段的内容将由布局中的 `@yield` 指令控制显示:
```blade
<!-- Stored in resources/views/child.blade.php -->
<!-- Stored in storage/view/child.blade.php -->
@extends('layouts.app')