Prettier vsCode and tailwindCss auto class sorting

Shoe

Install prettier extension on vscode

URL

Open the vscode setting window

(Shortcut ctrl + ,)

Search for “Editor: Default Formatter” and select Prettier-code formatter from drop-down

Search for “Editor: Format On Save” and activate “the format a file on save”

Done