Tailwind 4 support ? #1610
Replies: 3 comments 3 replies
-
What is your 'problem'?
I am not sure how to add the formkit.theme.ts to tailwind 4. tailwind4/vuejs/vite |
Beta Was this translation helpful? Give feedback.
-
Here's what I did to get it working: Install dependencies npm install @formkit/core @formkit/icons @formkit/themes @formkit/vue Generate Formkit Theme file ( npx formkit@latest theme Now in your import { genesisIcons } from '@formkit/icons';
import { defaultConfig } from '@formkit/vue';
import { rootClasses } from './formkit.theme';
export default defaultConfig({
config: {
rootClasses,
},
icons: {
...genesisIcons,
},
}); And in you @import 'tailwindcss';
@plugin '@formkit/themes/tailwindcss';
@source '../../formkit.theme.ts'; |
Beta Was this translation helpful? Give feedback.
-
If it helps, I ran |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Many major libraries have already started shipping beta/alpha version with tailwind 4 support. NuxtUI, DaisyUI. Is there any work going on to support Tailwind 4 soon? Asking especially for the formkit/nuxt.
Beta Was this translation helpful? Give feedback.
All reactions