Skip to content

This Laravel Nova package loads the full Tailwind CSS in the Nova admin panel.

License

Notifications You must be signed in to change notification settings

gbrits/nova4-tailwind

 
 

Repository files navigation

Nova Tailwind

Latest Version on Packagist Total Downloads

This Laravel Nova package loads the full Tailwind CSS in the Nova admin panel.

Installation

Install the package in a Laravel Nova project via Composer:

composer require gbrits/nova4-tailwind

Usage

Just install with Composer and you're good to go!

Conflicts

The Tailwind configuration has been modified so it doesn't conflict with Laravel Nova's variation of Tailwind - the package is meant to just fill in the gaps.

If you do find some styles being overridden after installing this package, do make an issue and it can definitely be resolved.

Custom cases

Usage on login screen

Nova does not load the registered styles on the Login screen automatically. In order for the Tailwind to work on the login screen, you have to publish the CSS yourself. This package will then check if there's a published CSS file and will load it on the login screen as a Nova theme style.

Basically, just publish the CSS and it will work on the auth screens:

php artisan vendor:publish --tag="tailwind-public-css"

Credits

License

This project is open-sourced software licensed under the MIT license.

About

This Laravel Nova package loads the full Tailwind CSS in the Nova admin panel.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • HTML 83.7%
  • JavaScript 11.7%
  • PHP 4.3%
  • CSS 0.3%