You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+57Lines changed: 57 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -149,6 +149,63 @@ class HomeController extends Controller
149
149
</x-app-layout>
150
150
```
151
151
152
+
`@stack('page_scripts')`: Similar to `@stack('page_styles')`, this directive is used to push page-specific JavaScript scripts into a stack in your layout file:
Using the `@section('title', 'Home Page')` directive, you're defining the title of the page as "Home Page". This value will replace the `@yield('title')` directive in your layout file.
168
+
Within the layout, you'll have access to the title value defined in this view.
169
+
170
+
It looks like you're using Blade directives to define the title and content for the home.blade.php view within the x-web-app-layout. Here's the corrected version:
0 commit comments