Package Data | |
---|---|
Maintainer Username: | michaeldyrynda |
Package Create Date: | 2017-11-01 |
Package Last Update: | 2023-04-16 |
Home Page: | https://laravel-frontend-presets.github.io/tailwindcss/ |
Language: | Blade |
License: | MIT |
Last Refreshed: | 2024-11-15 15:01:58 |
Package Statistics | |
---|---|
Total Downloads: | 389,712 |
Monthly Downloads: | 900 |
Daily Downloads: | 26 |
Total Stars: | 1,151 |
Total Watchers: | 37 |
Total Forks: | 140 |
Total Open Issues: | 3 |
A Laravel front-end scaffolding preset for Tailwind CSS - a Utility-First CSS Framework for Rapid UI Development.
Current version: Tailwind CSS 1.0
composer require laravel-frontend-presets/tailwindcss
. Laravel will automatically discover this package. No need to register the service provider.php artisan preset tailwindcss
for the basic Tailwind CSS presetnpm install && npm run dev
php artisan serve
(or equivalent) to run server and test preset.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
)npm install && npm run dev
php artisan migrate
to create basic user tables.php artisan serve
(or equivalent) to run server and test preset.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.