Skip to content

fix: resolve Tailwind v4 CSS layer conflict with CopilotKit - #2

Open
Abubakar-01 wants to merge 1 commit into
ag2ai:mainfrom
Abubakar-01:fix/tailwind-v4-copilotkit-compatibility
Open

Abubakar-01 wants to merge 1 commit into
ag2ai:mainfrom
Abubakar-01:fix/tailwind-v4-copilotkit-compatibility

Conversation

@Abubakar-01

Copy link
Copy Markdown

Summary

Fixes build error caused by CopilotKit v2 CSS using Tailwind v4 @layer syntax in a project still configured for Tailwind v3.

Changes

  • Upgraded Next.js to 15.2.4 to support Tailwind v4's new CSS pipeline
  • Installed @tailwindcss/postcss and updated PostCSS config
  • Removed outdated Tailwind v3 directives from globals.css

Result

Build now completes without @layer base CSS syntax errors.

- Upgrade Next.js to 15.2+ for Tailwind v4 support
- Replace tailwindcss PostCSS plugin with @tailwindcss/postcss
- Remove obsolete autoprefixer config
@CLAassistant

Copy link
Copy Markdown

CLA assistant check
Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.
You have signed the CLA already but the status is still pending? Let us recheck it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants