- Use class instead of id, even for one element
- Avoid inline styling as much as possible (use class instead)
- Write inline styling on one line
- Avoid using tags with default styling as h1, as we don't care about SEO
- Use
em
instead ofpx
for font-size - Use SCSS variables instead of Vuetify ones
- Use Vue.js shorthand (
@
instead ofv-on:
) - Use arrow functions
- Use double quotes in
<template>
and single quote in<script>
- Place application pages in the "components" folder and sub-components in the sub-folder name according to the main component
- Place specific SCSS in a
scoped
tag for each page/component - Place generic SCSS in the
app.scss
file - Pass new routes to the store (via a dedicated function) in the
mounted
function of each page
- Use apexchart for data visualization
- Use apollo for HTTP and GraphQL requests
- Use mapbox for maps and geocoding
- Use moment for time manipulation and display