feat: Tailwind CSS support via --tailwind flag (closes #1)#2
Open
DEADSERPENT wants to merge 6 commits into
Open
feat: Tailwind CSS support via --tailwind flag (closes #1)#2DEADSERPENT wants to merge 6 commits into
DEADSERPENT wants to merge 6 commits into
Conversation
Removed TypeScript parameter from generateTailwind function.
Owner
|
Thanks for the PR! Vite + Tailwind is working fine from my testing. I found an issue with the CRA + Tailwind path where the setup generates but the Tailwind classes aren't being applied correctly. I'm currently working on a fix for the CRA integration on my side, so no action needed from you for now. Everything else looks good so far. Once I've got the CRA setup working properly, I'll move ahead with the merge. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What this PR does
Implements Tailwind CSS support as requested in #1.
Adds an optional
--tailwindflag that works with both Vite and CRA projects and can be combined with existing flags such as--tsand--folders.Changes
--tailwindoption to the CLITailwind v4 Support
Vite
tailwindcssand@tailwindcss/vitesrc/index.csswith Tailwind importCRA
tailwindcssand@tailwindcss/postcsspostcss.config.jssrc/index.csswith Tailwind importUsage
Issue
Closes #1