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