Tailwind 4 support ? #1610
challapradyumna
started this conversation in
Ideas
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 |
1 reply
|
Here's what I did to get it working: Install dependencies npm install @formkit/core @formkit/icons @formkit/themes @formkit/vueGenerate Formkit Theme file ( npx formkit@latest themeNow 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'; |
2 replies
|
If it helps, I ran |
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
All reactions