Conclusion
Vue Router is a great library to navigate between the different views or “pages” of your application. All of your routes live inside one router.js
file that gets injected as a dependency into your Vue Instance. As stated above, there are different types of routes that you can have including named routes, dynamic routes, redirects, alias, and stringed routes.
Unlike its competitors, Vue Router is a first party proprietary router created by the Vue.js Core Team. Since it’s the first party router for Vue.js, Vue Router is guaranteed to work with the latest versions of the core Vue.js library. With React, for instance, the unofficial “official” recommendation is React Router 4, which could change at any time and has a higher chance of introducing breaking changes to your application. With that being said, you do not need to use Vue Router in your application. You can use a third party Vue.js router. However, it is not recommended.
The Vue Router...