git clone https://github.com/Idrottskoll/idrottskoll-web.git <My App Name>
cd idrottskoll-web <My App Name>
npm install
npm run dev
- Most important: Look around. Match the style you see used in the rest of the project. This includes formatting, naming things in code, naming things in documentation.
- Add trailing commas,
- 4 spaces for indentation (no tabs)
- Use semicolons
;
- ES6 standards
airbnb
- Prefer
'
over"
- 80 character line length
- Do NOT use
var
when declaring a variable
- Prefer
"
over'
for string literal props - When wrapping opening tags over multiple lines, place one prop per line
{}
of props should hug their values (no spaces)- Place the closing
>
of opening tags on the same line as the last prop - Place the closing
/>
of self-closing tags on their own line and left-align them with the opening<