//the links of the navbar must use : <router-link to="/[route-name]">[Navbar-link-Name] <router-link> //use this instead of <a></a>, so the routing can work