format on save vs code prettier code example
Example 1: prettier config vscode
npm install --save-dev --save-exact prettier
Example 2: vscode format code
On Windows Shift + Alt + F.
On Mac Shift + Option + F.
npm install --save-dev --save-exact prettier
On Windows Shift + Alt + F.
On Mac Shift + Option + F.