turbo icon indicating copy to clipboard operation
turbo copied to clipboard

TailwindCSS Styles Don't Apply to NextJS App on Example Repo `with-tailwind`

Open codesfromshad opened this issue 6 months ago • 2 comments

Verify canary release

  • [x] I verified that the issue exists in the latest Turborepo canary release.

Link to code that reproduces this issue

npx create-turbo@canary -e with-tailwind

Which canary version will you have in your reproduction?

N/A

Environment information


Expected behavior

When components are imported from the packages/ui directory in with-tailwind example, the components, if they have tailwind classes applied to them, do not render with the appropriate style (look at the card stack below, no style applied).

Image

Actual behavior

No style gets applied.

To Reproduce

Bootstrap a project with-tailwind from the example.

Additional context

No response

codesfromshad avatar Jun 15 '25 11:06 codesfromshad

Any updates?

2ulqarnain avatar Jun 18 '25 10:06 2ulqarnain

got the fix will open a pull request

sahyl avatar Jun 18 '25 11:06 sahyl

Thank you, I also tried your fix and it worked!

2ulqarnain avatar Jun 19 '25 07:06 2ulqarnain