Tailwind V4 with Shadcn Monorepo #1338
fluid-design-io
started this conversation in
General
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Since Fumadocs V15 uses Tailwind V4, I have upgraded my monorepo (inited from shadcn monorepo) to use V4 as well.
Wanted to share how I've done it and hope someone finds it helpful ✨
You'll need update these files to make it work:
First, remove both
tailwind.config.js
in your project andpackages/ui
folders.Then do the following:
Main Project
Replace everything on
apps/web/app/styles.css
:UI Package
packages/ui/package.json
:remove
autoprefixer
package.packages/ui/postcss.config.mjs
:packages/ui/src/styles/globals.css
:source from shadcn's repo
Beta Was this translation helpful? Give feedback.
All reactions