Navigation guards allow you to execute some logic at certain stages of the navigation. To use Pinia on those guards requires a little trick of implementation. Let’s dive into it.
State management lets you run a faster application. For a while now, Pinia has replaced Vuex in Vue applications. And with Pinia, it’s time to embrace the Composition API, even within the stores.
While going through the courses on VueSchool.io, I had to figure out how to register globally available components with Vue 3 and TypeScript. Here is how it is done.