Tailwind CSS-styled authentication blade views for FortifyUI
MIT License
Fortify-tailwind provides authentication UI views and scaffolding for FortifyUI, styled with Tailwind CSS.
$ composer require ycore/fortify-tailwind
This command initializes FortifyUI and publishes the Fortify-tailwind authentication views and scaffolding.
resources/views/
require tailswindcss
in webpack.mix.js
resources/app.css
home
route to routes/web.php
login
and register
Laravel Fortify featuresThis package and FortifyUI both utilize package auto-discovery. There is no need to add the service providers manually.
$ php artisan fortify-ui:tailwind
npm install tailwindcss autoprefixer --save-dev
npx tailwindcss init
npm install
npm run dev
Fortify-tailwind installs a sensible default configuration based on the Laravel Fortify recommendations. The login
, logout
, registration
and reset-passwords
features and routes are enabled by default. If these defaults are sufficient, there is no need for additional configuration.
Fortify-tailwind is designed to be re-installed. Use the --force
or --views-only
options to overwrite previously-installed views or scaffolding.
Overwrite all previously installed views and scaffolding
$ php artisan fortify-ui:tailwind --force
Overwrite all previously installed views only
$ php artisan fortify-ui:tailwind --views-only
FortifyUI also provides more configuration options via the fortify-ui:publish
command. See the FortifyUI configuration section for details on publishing additional configuration options.
Please see the Changelog for more information on what has changed recently.
Should you discover any security-related issues, please email [email protected] instead of using the issue tracker.
MIT. Please see the License file for more information.