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
Welcome to the Laravel React Starter Kit. This starter kit utilizes Intertia v2, Tailwind V3 (soon to be V4), React 19, and ShadCN UI.
10
+
Welcome to the <ahref="https://laravel.com"target="_blank">Laravel</a> React</a> Starter Kit. This starter kit utilizes <ahref="https://inertiajs.com/"target="_blank">Intertia v2</a>, <ahref="https://tailwindcss.com/"target="_blank">Tailwind CSS</a>,V3 (soon to be V4), <ahref="https://reactjs.dev"target="_blank">React 19</a>, and <ahref="https://ui.shadcn.com/"target="_blank">ShadCN UI</a>.
11
11
12
12
## Installation
13
13
@@ -29,6 +29,15 @@ This shell file will run the following commands, which you may wish to run manua
@@ -56,10 +65,40 @@ This code will load the `resources/js/Pages/Dashboard.tsx` file.
56
65
57
66
### Layouts
58
67
59
-
All your pages will utilize a layout as the structure for each page. These layout files are located in the `resources/js/Layouts` folder. Currently, there are two layouts, `AppLayout`and `AuthLayout`.
68
+
All your pages will utilize a layout as the structure for each page. These layout files are located in the `resources/js/Layouts` folder. Currently, there will be two layouts. An `App` layout and an `Auth` layout.
60
69
61
70
1.**AppLayout** - This layout will be used for all authenticated users.
62
-
2.**AuthLayout** - This layout will be used for unauthenticated users and this layout is used specifically for all the Authentication views.
71
+
2.**Auth\AuthBase** - This is the main layout for your authentication pages, more info below.
72
+
73
+
### Authentication Layouts
74
+
75
+
The Authentication layouts are used specifically for all the Authentication views. You'll notice that there are a few different layouts in the `resources/js/Layouts/Auth` folder. This is because we provide you with three layouts to choose from.
76
+
77
+
#### AuthSimpleLayout.tsx
78
+
79
+
A clean and simple layout for your authentication pages.
To change the Layout you would like to use, simply change the Layout file that is imported in the **AppBase.tsx**. As an example, to use the `AuthSplitLayout.tsx`, the first line would be modified to look like the following:
0 commit comments