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
+5-9
Original file line number
Diff line number
Diff line change
@@ -1,25 +1,21 @@
1
-
# Laravel 6.0+ Frontend preset for Tailwind CSS
1
+
# Laravel 7.0+ Frontend preset for Tailwind CSS
2
2
3
3
A Laravel front-end scaffolding preset for [Tailwind CSS](https://tailwindcss.com) - a Utility-First CSS Framework for Rapid UI Development.
4
4
5
-
## 1. Basic usage
5
+
## Usage
6
6
7
-
1. Run `npx use-tailwind-preset`
8
-
9
-
## 2. Advanced Usage
10
-
11
-
1. Fresh install Laravel >= 6.0 and `cd` to your app.
7
+
1. Fresh install Laravel >= 7.0 and `cd` to your app.
12
8
2. Install this preset via `composer require laravel-frontend-presets/tailwindcss --dev`. Laravel will automatically discover this package. No need to register the service provider.
13
9
14
10
### a. For Presets without Authentication
15
11
16
-
1. Use `php artisan preset tailwindcss` for the basic Tailwind CSS preset
12
+
1. Use `php artisan ui tailwindcss` for the basic Tailwind CSS preset
17
13
2.`npm install && npm run dev`
18
14
3.`php artisan serve` (or equivalent) to run server and test preset.
19
15
20
16
### b. For Presets with Authentication
21
17
22
-
1. Use `php artisan preset 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`)
18
+
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`)
23
19
4.`npm install && npm run dev`
24
20
5. Configure your favorite database (mysql, sqlite etc.)
25
21
6.`php artisan migrate` to create basic user tables.
0 commit comments