Sort Tailwind classes with dx fmt
#3478
Labels
autoformatting
Related to the autofmt crate
cli
Related to the dioxus-cli program
enhancement
New feature or request
Feature Request
Tailwind provides an official prettier plugin that can automatically sort classnames: https://www.npmjs.com/package/prettier-plugin-tailwindcss
Of course, it only works for JS/TS files and not for Rust.
Implement Suggestion
dx fmt
should provide an option for formatting Tailwind classnames in Rust files.The text was updated successfully, but these errors were encountered: