prettier isn't working vscode code example
Example 1: prettier not working vscode
-> open visual studio code
-> go to view
-> open command palette
-> search for "format document with"
-> set prettier to default
Example 2: why prettier doesn't work vscode
check "format on Save": Setting >> User >> Text Editor >> Formatting
choose prettier as "default formatter" : Setting >> User >> Text Editor