It seems that you're encountering issues due to a version mismatch between Tailwind CSS and FlyonUI. Based on your message, it appears that you're using Tailwind CSS 3 in your project while following the FlyonUI v2 documentation, which is intended for use with Tailwind CSS 4.
The main difference between Tailwind CSS 3 and Tailwind CSS 4 is that in Tailwind 4, the tailwind.config.js file is no longer required, as Tailwind CSS 4 does not necessitate a separate configuration file. Instead, configurations are directly imported and set up in the main CSS file.
To ensure compatibility, I recommend using the latest versions of both Tailwind CSS and FlyonUI Tailwind component library, as both are actively maintained. However, if you need to work with Tailwind CSS 3, you can install FlyonUI version 1.3.0 by running the following command:
npm i [email protected]
This version is compatible with Tailwind CSS 3. You can follow the FlyonUI v1 Laravel integration documentation for a step-by-step guide.If you're looking to work with the latest version of FlyonUI (v2), we recommend upgrading to Tailwind CSS 4. For FlyonUI v2 with Tailwind CSS 4, you can refer to the FlyonUI v2 Laravel integration documentation.