- Move to the
metromaps
directory, i.e.cd metromaps
- Do
npm install
- Start the application with
npm start
-
Install
Prettier - Code formatter
on VSCode.- Launch VS Code Quick Open (
Ctrl + P
on Windows orCmd + P
on macOS) - Run
ext install esbenp.prettier-vscode
- Launch VS Code Quick Open (
-
Open
Preferences > Settings
(Ctrl + ,
on Windows orCmd + ,
on macOS)- Search for
editor.defaultFormatter
and set it toPrettier - Code Formatter
or"esbenp.prettier-vscode"
- Search for
editor.formatOnSave
and tick the box or set it totrue
- Search for
prettier.requireConfig
and tick the box or set it totrue
to use project-specific Prettier configuration (.prettierrc
file)
- Search for