Replies: 4 comments 1 reply
|
You’re right that Tailwind v4 allows inline configuration and no longer strictly requires a However, with SPFx 1.22 + Heft, the limitation is the SPFx build pipeline, not Tailwind:
Because of this, even with Tailwind v4, keeping a Tailwind config and precompiling via the CLI is currently the safest approach for SPFx. Hope this helps |
|
As of this day, the Design System version 2.3.x is not compatible with TailwindCSS 4.x The new version of the design system - which is version 3.0.x will be 100% compatible with TailwindCSS 4.x. This version will be released on 12th Jan 2026 (2 days from now) |
|
Hi Moiz and Fatima, Thank you for the great teamwork. As we are starting with Tailwind CSS 4, I have a few questions related to the UAE Design System. From my understanding, the UAE Design System is built on top of Tailwind CSS. Could you please clarify the following points:
Looking forward to your confirmation and advice. Regards, |
|
Hello @raedweb I will explain and clarify all your questions. But first, do not use the @aegov/design-system (version 2.3.x) with TailwindCSS 4.x. Please wait for the release of @aegov/design-system version 3.0.x Now, your questions:
|
Uh oh!
There was an error while loading. Please reload this page.
Dear Team,
As per docuemnt installation show sthat tailwind configuration file and in version 4 no need for it as can be inside
https://designsystem.gov.ae/docs/installation
What is your advice?
/* your tailwind.config.js file */
module.exports = {
content: ["./src/**/*.{html,js}"],
future: {
hoverOnlyWhenSupported: false,
},
theme: {
extend: {},
},
plugins: [
require('@aegov/design-system'),
require('@tailwindcss/typography'),
require('@tailwindcss/forms')
],
}
All reactions