RTL

Enable RTL or Right-to-Left mode from the html template by adding the [dir=rtl] attribute on the <html> tag.

<!DOCTYPE html> <html lang="en" dir="rtl"> </html>

How it works

The process of converting regular styles to RTL is automatic and handled by postcss-rtl in the Build Process. This is already configured in webpack.mix.js and applied when building the CSS files in public/css.

mix .options({ postCss: [ require('postcss-rtl') ] })