JapSeyz / tailwindcss

A Tailwind CSS frontend preset for the Laravel Framework

Home Page:https://laravel-frontend-presets.github.io/tailwindcss/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Laravel 5.7+ Frontend preset for Tailwind CSS

A Laravel front-end scaffolding preset for Tailwind CSS - a Utility-First CSS Framework for Rapid UI Development.

Current version: Tailwind CSS 0.6.5

Usage

  1. Fresh install Laravel >= 5.7.0 and cd to your app.
  2. Install this preset via composer require laravel-frontend-presets/tailwindcss. Laravel will automatically discover this package. No need to register the service provider.
  3. Use php artisan preset tailwindcss for the basic Tailwind CSS preset OR 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)
  4. npm install && npm run dev && npm run dev (this is required twice, due to the way that laravel-mix-tailwind installs the Tailwind CSS dependency)
  5. Configure your favorite database (mysql, sqlite etc.)
  6. php artisan migrate to create basic user tables.
  7. php artisan serve (or equivalent) to run server and test preset.

Config

The default tailwind.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.

Screenshots

Welcome

Register

Login

Send Password Reset

Reset Password

Dashboard

Verify

About

A Tailwind CSS frontend preset for the Laravel Framework

https://laravel-frontend-presets.github.io/tailwindcss/

License:MIT License


Languages

Language:HTML 74.8%Language:PHP 15.1%Language:CSS 5.2%Language:JavaScript 4.9%