Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support TailwindCSS 4.0 #452

Open
wants to merge 1 commit into
base: 2.x
Choose a base branch
from
Open

Support TailwindCSS 4.0 #452

wants to merge 1 commit into from

Conversation

itxshakil
Copy link
Contributor

This PR introduces support for TailwindCSS 4.0 in the Laravel Breeze starter kit. It ensures compatibility with the latest version of TailwindCSS, offering improved utility classes, enhanced performance, and better developer experience.


Changes:

  1. Updated TailwindCSS Version:
    • Upgraded tailwindcss dependency to ^4.0.
    • Adjusted configuration files to match the new TailwindCSS 4.0 structure.
  2. Configuration Adjustments:
    • Ensured compatibility with Laravel Mix and Vite, adapting build processes as needed.
    • Modified tailwind.config.js to align with updated syntax and features of TailwindCSS 4.0.
  3. CSS and Component Updates:
    • Updated existing CSS classes in default views to avoid deprecated or removed utilities.
    • Verified and fixed any compatibility issues with new features, such as the removal of certain defaults or changes to class behaviors.

References:

Please review and test the changes. Feedback and suggestions are welcome!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant