Skip to content

Commit 8f51a15

Browse files
Merge pull request #76 from assertchris/patch-1
Add a faster path to usage
2 parents e0d19ae + 7f4b7fb commit 8f51a15

File tree

1 file changed

+7
-3
lines changed

1 file changed

+7
-3
lines changed

README.md

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,18 +2,22 @@
22

33
A Laravel front-end scaffolding preset for [Tailwind CSS](https://tailwindcss.com) - a Utility-First CSS Framework for Rapid UI Development.
44

5-
## Usage
5+
## 1. Basic usage
6+
7+
1. Run `npx use-tailwind-preset`
8+
9+
## 2. Advanced Usage
610

711
1. Fresh install Laravel >= 6.0 and `cd` to your app.
812
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.
913

10-
### For Presets without Authentication
14+
### a. For Presets without Authentication
1115

1216
1. Use `php artisan preset tailwindcss` for the basic Tailwind CSS preset
1317
2. `npm install && npm run dev`
1418
3. `php artisan serve` (or equivalent) to run server and test preset.
1519

16-
### For Presets with Authentication
20+
### b. For Presets with Authentication
1721

1822
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`)
1923
4. `npm install && npm run dev`

0 commit comments

Comments
 (0)