Skip to content

docs(v1-tailwind4): update v1 how to use tailwind 4#2160

Closed
Gao-pw wants to merge 1 commit intoweb-infra-dev:1.xfrom
Gao-pw:update1.x-tailwind4-doc
Closed

docs(v1-tailwind4): update v1 how to use tailwind 4#2160
Gao-pw wants to merge 1 commit intoweb-infra-dev:1.xfrom
Gao-pw:update1.x-tailwind4-doc

Conversation

@Gao-pw
Copy link
Copy Markdown

@Gao-pw Gao-pw commented May 14, 2025

Summary

update rspress v1 how to use tailwind 4

Related Issue

#2158

Checklist

  • Tests updated (or not required).
  • Documentation updated (or not required).

@netlify
Copy link
Copy Markdown

netlify bot commented May 14, 2025

Deploy Preview for rspress ready!

Name Link
🔨 Latest commit abf6008
🔍 Latest deploy log https://app.netlify.com/sites/rspress/deploys/682469090a72f70008c2fdf4
😎 Deploy Preview https://deploy-preview-2160--rspress.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.
Lighthouse
Lighthouse
1 paths audited
Performance: 89 (🟢 up 7 from production)
Accessibility: 97 (no change from production)
Best Practices: 83 (no change from production)
SEO: 100 (no change from production)
PWA: -
View the detailed breakdown and full score reports

To edit notification comments on pull requests, go to your Netlify site configuration.

@SoonIter
Copy link
Copy Markdown
Member

SoonIter commented May 15, 2025

This document seems to have not solved this problem.

tinytek-io/windcraft-starter-kit#9

this is not just a change on doc; supporting Tailwind V4 is a feature with code, testing, and documentation.

@Gao-pw
Copy link
Copy Markdown
Author

Gao-pw commented May 15, 2025

This document seems to have not solved this problem.

tinytek-io/windcraft-starter-kit#9

this is not just a change on doc; supporting Tailwind V4 is a feature with code, testing, and documentation.

😦I will add some test cases later. I am currently a user of rspress 1.X, so I only mentioned the pr for version 1.X😢.

@SoonIter
Copy link
Copy Markdown
Member

Thanks for your supporting. If we haven't tested this usage of tw4, and whether it is working normally in Rspress, we cannot document it to recommend users to use it... Sorry

If you want to continue this pr, you can add a test case to cover it and declare the document how to use tailwind v3 and how to use tailwind v4, split them to 2 parts

@SoonIter
Copy link
Copy Markdown
Member

SoonIter commented Mar 3, 2026

In V2, all Rspress built-in components use BEM naming conventions and do not use Tailwind CSS internally, which avoids conflicts with Tailwind CSS classes. You can freely use Tailwind v4 or v3 without worrying about style collisions.

Closing this PR due to prolonged inactivity. Thank you for your contribution! If you'd like to continue working on this, please feel free to reopen or submit a new PR based on the latest main branch.

@SoonIter SoonIter closed this Mar 3, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants