- Install Git, Node , VS Code
- Install plugin from VS Code - Prettier
- VS Code configuration - Setting -setting.jason
Add line
add this line:-
{
"[javascript]": {
"editor.formatOnSave": true,
"editor.defaultFormatter": "esbenp.prettier-vscode"
},
"[javascriptreact]": {
"editor.formatOnSave": true,
"editor.defaultFormatter": "esbenp.prettier-vscode"
}
}
- VS Code Terminal - yarn install 5.
Top comments (0)