Creating the user model
With Vue Auth now installed and set up, we can use it to manage the user's authentication state.
The first step in implementing that is to create a login form for the user to provide their credentials. This component here, LoginForm.vue
is what I've partially setup for this purpose.
Now, the way we're managing state in this app is via Vuex ORM, so in order to create this form we're going to need a new Vuex ORM model.
Click to load comments...