We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2c6b821 commit 1bbaaa3Copy full SHA for 1bbaaa3
app/View/Components/AppLayout.php
@@ -0,0 +1,18 @@
1
+<?php
2
+
3
+namespace App\View\Components;
4
5
+use Illuminate\View\Component;
6
7
+class AppLayout extends Component
8
+{
9
+ /**
10
+ * Get the view / contents that represents the component.
11
+ *
12
+ * @return \Illuminate\View\View
13
+ */
14
+ public function render()
15
+ {
16
+ return view('layouts.app');
17
+ }
18
+}
app/View/Components/GuestLayout.php
+class GuestLayout extends Component
+ return view('layouts.guest');
0 commit comments