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
{{ message }}
This repository was archived by the owner on Dec 11, 2021. It is now read-only.
Copy file name to clipboardExpand all lines: README.md
+21-3
Original file line number
Diff line number
Diff line change
@@ -10,13 +10,13 @@ This package requires Laravel 7.0 or higher.
10
10
11
11
### a. Preset WITHOUT Authentication
12
12
13
-
1. Use `php artisan ui tailwindcss` for the basic Tailwind CSS preset
13
+
1. Use `php artisan ui tailwindcss` for the basic Tailwind CSS preset, you can use dark mode too `php artisan ui tailwindcss:dark`
14
14
2.`npm install && npm run dev`
15
15
3.`php artisan serve` (or equivalent) to run server and test preset.
16
16
17
17
### b. Preset WITH Authentication
18
18
19
-
1. Use `php artisan ui tailwindcss --auth` for the basic preset, auth route entry, and Tailwind CSS auth views in one go. (NOTE: If you run this command several times, be sure to clean up the duplicate Auth entries in `routes/web.php`)
19
+
1. Use `php artisan ui tailwindcss --auth` for the basic preset, for the dark mode `php artisan ui tailwindcss:dark --auth`, auth route entry, and Tailwind CSS auth views in one go. (NOTE: If you run this command several times, be sure to clean up the duplicate Auth entries in `routes/web.php`)
20
20
4.`npm install && npm run dev`
21
21
5. Configure your favorite database (mysql, sqlite etc.)
22
22
6.`php artisan migrate` to create basic user tables.
@@ -26,7 +26,9 @@ This package requires Laravel 7.0 or higher.
26
26
27
27
The default `tailwind.config.js` configuration file included by this package simply uses the config from the Tailwind vendor files. Should you wish to make changes, you should remove the file and run `node_modules/.bin/tailwind init`, which will generate a fresh configuration file for you, which you are free to change to suit your needs.
28
28
29
-
### Screenshots
29
+
## Screenshots
30
+
31
+
### Light
30
32
31
33

32
34
@@ -41,3 +43,19 @@ The default `tailwind.config.js` configuration file included by this package sim
0 commit comments