fix: correct Tailwind v4 migration guide syntax and formatting (#5204)

This commit is contained in:
Clover You 2025-04-16 20:58:32 +08:00 committed by GitHub
parent 1240a4fbe1
commit 0f27dbc9d5
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -39,7 +39,7 @@ TailwindCSS v4 is now available in Beta! This guide will help you migrate your e
- @tailwind utilities;
+ @import "tailwindcss";
+ @config "../../tailwind.config.js"
+ @config "../../tailwind.config.js";
```
### Update PostCSS Configuration
@ -90,4 +90,4 @@ After migration, verify that:
If you encounter any issues during migration, please:
- Join our [Discord community](https://discord.gg/9b6yyZKmH4)
- [Open an issue](https://github.com/heroui-inc/heroui/issues) on our GitHub repository
- [Open an issue](https://github.com/heroui-inc/heroui/issues) on our GitHub repository