*If you get to a step and something doesn't work, restart VS Code.
- Run
git pull origin masterto ensure the .prettierrc file is in your root folder. - While in the 'vue-honey-crm' directory, run
npm install. - In VS Code, Install the "Prettier - Code formatter" extension (esbenp.prettier-vscode).
- Open the command palette ( ctrl + shft + p ) => Search for:
Format Document With...=> Search for:Configure Formatter...=> SelectPrettier - Code formatterto set it as the default formatter. - Open the command palette => Search for:
Preferences: Open Settings(JSON)=> add the following options inside the settings object:
"editor.formatOnSave": true, //Formats on save