📜  laravel 动态页面标题 - PHP 代码示例

📅  最后修改于: 2022-03-11 14:53:56.750000             🧑  作者: Mango

代码示例1


    App Name - @yield('title')


    @section('sidebar')
        This is the master sidebar.
    @show

    
@yield('content')
@extends('layouts.master') @section('title', 'Page Title') @section('sidebar') @parent

This is appended to the master sidebar.

@endsection @section('content')

This is my body content.

@endsection