ecklf / tailwindcss-radix

Utilities and variants for styling Radix state
https://tailwindcss-radix.vercel.app
MIT License
2.11k stars 67 forks source link

Example of using in a monorepo #21

Closed digoburigo closed 2 years ago

digoburigo commented 2 years ago

Hello I'm trying to use this lib with a monorepo with pnpm workspaces and turborepo. I used this example from turborepo itself that contains tailwind. But I don't know what I'm missing to make it work properly.

My final result is this (Accordion and Select components): image

You can see that the tailwind classes are working because of the green text (color that I configured in tailwindcss). I copy your components from the demo but the styles are not working. Can you help with this? Thanks for this amazing library!

ecklf commented 2 years ago

Do you have that repo public somewhere?

digoburigo commented 2 years ago

Hello, I resolved this issue installing the packages in both the devDependecies and dependecies and was not related with your library. Sorry for opening a issue here. Thanks for you time!

ecklf commented 2 years ago

No worries, glad you got it working 👍🏻