Skip to content
This repository has been archived by the owner on May 27, 2022. It is now read-only.

Commit

Permalink
Merge branch 'master' of github.com:zaknesler/tailwind-preset
Browse files Browse the repository at this point in the history
  • Loading branch information
zaknesler committed Nov 9, 2018
2 parents bfdf1d5 + 822296e commit bd1143d
Showing 1 changed file with 4 additions and 8 deletions.
12 changes: 4 additions & 8 deletions readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,15 +10,15 @@ This is a Laravel front-end preset for Tailwind CSS. This preset will replace th

### Installation

> **Warning**: Installing this preset will **overwrite** your existing views and assets, and should only be installed on a fresh installation of Laravel. Please use with caution.
> **Warning**: Installing this preset will **overwrite** your existing views and assets, and should only be installed on a fresh instance of Laravel. Please use with caution.
To install this preset, you must first require the composer dependency. Laravel will automatically register the service provider for you.
To install this preset, you must first require the composer dependency in your application. Laravel will automatically register the service provider for you.

```
composer require zaknesler/tailwind-preset
```

Next, install either the `tailwind` or the `tailwind-auth` preset. The `tailwind-auth` preset includes authentication views, routes, and a controller.
Now, install either the `tailwind` or the `tailwind-auth` preset. The `tailwind-auth` preset includes the authentication scaffolding normally generated when `php artisan make:auth` is executed.

```
php artisan preset tailwind
Expand All @@ -42,8 +42,4 @@ Now you can compile the assets using any of the Laravel build scripts (dev, prod
yarn dev // npm run dev
```

Ensure that your database is properly configured and migrated, and you're done! At this point, you may remove the composer dependency, as it is no longer needed.

```
composer remove zaknesler/tailwind-preset
```
Ensure that your database is properly configured and migrated, and you're done!

0 comments on commit bd1143d

Please sign in to comment.