Integrate TailwindCSS (Suggestion)

Help for integrating the Laravel package
Forum rules
Always add your Laravel, Aimeos and PHP version as well as your environment (Linux/Mac/Win)
Spam and unrelated posts will be removed immediately!
User avatar
peter69
Posts: 95
Joined: 09 Jun 2022, 19:31

Integrate TailwindCSS (Suggestion)

Post by peter69 » 20 Sep 2022, 04:31

Hello everyone!

I am continuing with the development of a store, and in the theme/package I have created I am using TailwindCSS and I am removing the default Laravel Aimeos CSS.

So in the frontend, the final size of the CSS files is minimal.

TailwindCSS is a great tool that I have used in other Laravel and Vue.js projects. I think it would be great to use this tool in Laravel Aimeos, it will certainly give it a more current and modern design.

This is a suggestion, I will be happy to hear your opinions,

Regards!

User avatar
aimeos
Administrator
Posts: 7858
Joined: 01 Jan 1970, 00:00

Re: Integrate TailwindCSS (Suggestion)

Post by aimeos » 20 Sep 2022, 06:17

Tailwind is not suitable for building CSS based themes because all styles are added as CSS classes to the HTML templates. Thus, you would need to overwrite the Tailwind CSS classes with "!important" constantly.
Professional support and custom implementation are available at Aimeos.com
If you like Aimeos, Image give us a star

User avatar
peter69
Posts: 95
Joined: 09 Jun 2022, 19:31

Re: Integrate TailwindCSS (Suggestion)

Post by peter69 » 20 Sep 2022, 06:40

Maybe it would only be feasible if from laravel aimeos core you use tailwindcss instead of .css files. But I guess at this stage of the project it's not a recommendable thing to do.

Post Reply