Want to use TailwindCSS in place of .scss
styles
#5028
Replies: 5 comments
-
Continuing the previousSo just like nextjs give option to setup "with TypeScript or not" and with Tailwindcss or not. Similarly with Payload I am wondering there should be an option to setup template with Tailwindcss or not. Might be related to Yes or No. |
Beta Was this translation helpful? Give feedback.
-
me too...i prefer tailwind to sass...i hate sass |
Beta Was this translation helpful? Give feedback.
-
Same, hate sass, wish I could just work with Tailwind CSS. Hope Payload implements that in the coming updates |
Beta Was this translation helpful? Give feedback.
-
Until the option comes to us we can use this implementation: [https://www.youtube.com/watch?v=RhoWLkIrMN0]. Note: Add the route of the tailwind.css file to the in buildConfig in payload.config.ts
Works for me!! |
Beta Was this translation helpful? Give feedback.
-
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
My words about payload
Payload is just mind blowing thing for me to create e-commerce website in short time without giving headche to developers (in case it's me) changing the stuff or updating the stuff again and again... But one thing is that the template for e-commerce is using sass to style webapges. Trust me i worked with both sass and tailwindcss. But i am good at styling webpages with tailwindcss because i had used almost three component libraries with that including
nextui
,shadcn
anddaisyui
. Beacause it is easy peasy task to add a new theme or cutomizing th existing theme.. The way for cusotmizing with sass is more difficult for me as we have to adjust different color shades manually (insrc/app/_css/colors.scss
Lets get to the point
I want to use some tailwindcss component library to style or create components. So anyone can give option to setup with Tailwindcss styles or something else (by default which is
.scss
right now.Beta Was this translation helpful? Give feedback.
All reactions