why prettir does not work in my vs code 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: prettier not working vscode
File > Preferences > Settings > Search for "default formatter"