I have project in Nuxt that is multi language (english and persian) . and as you know Persian is RTL and English LTR how should I style components when language changed also style change ? I use tailwindCSS
I have project in Nuxt that is multi language (english and persian) . and as you know Persian is RTL and English LTR how should I style components when language changed also style change ? I use tailwindCSS
Rtl is not supported in tailwindcss core.
You have some options to support rtl in your project:
There is a plugin for this : tailwindcss-rtl
Or you can use WindiCSS :
If you are already familiar with Tailwind CSS, think about Windi CSS as an on-demand alternative to Tailwind, which provides faster load times, fully compatible with Tailwind v2.0 and with a bunch of additional cool features.