how to use prettier in vscode as per prettier file code example
Example 1: prettier on save vscode
{
"folders": [],
"settings": {},
"editor.formatOnSave": true,
}
Example 2: enable prettier vscode
ext install esbenp.prettier-vscode
{
"folders": [],
"settings": {},
"editor.formatOnSave": true,
}
ext install esbenp.prettier-vscode