Laravel 8 And Vue 3 Authentication | Vue 3 JWT Token Based Auth System | Vue 3 Auth [HINDI]
In this video, I have discussed about Laravel 8 and vue js 3 Authentication system. Vue 3 is used in front-end and laravel 8 is used for backend (API) . JWT token is used in laravel to generate tokens for the user. The token is generated and sent back to the front-end where the vue-cookie package is used for the storing token. you can use local storage also in the place of the vue-cookie package.
You also get an idea about the installation of vue3 in laravel 8. We also see how to create ref and reactive variables in vue3.
Create Vue 3 Auth and Vue 3 JWT Token-Based Auth System.
You'll learn the difference between ref and reactive in vuejs3. new setup method in vuejs3 also.
vue-cookie (package)
https://www.npmjs.com/package/vue-cookie
Apparently the vue-cookie module doesn't work with Vue 3, because the install function uses the Vue 2 version Vue.prototype.$cookie to make it available in all components. Vue.prototype is now Vue.config.globalProperties in Vue 3
Stackoverflow link:
https://stackoverflow.com/questions/67410410/cannot-read-property-set-of-undefined-error-for-this-cookies-set
Github Link :
https://github.com/AjayYadavAi/Laravel8Vue3Auth
Our Playlist:
Laravel User Management System :
https://www.youtube.com/playlist?list=PLT51dtioU1pPNxwwo3dWfkUCKI2BXnc_H
Computer Facts:https://www.youtube.com/playlist?list=PLT51dtioU1pMRgv8kNYajmgJfA1W1zwqv
Laravel Auth System :
https://www.youtube.com/playlist?list=PLT51dtioU1pPmtFnYQ5WRnYvvL1zW74wl
Laravel And Vuejs
https://www.youtube.com/playlist?list=PLT51dtioU1pN0mQqQ5RM5nE8uOfzsqml2
#vue3Auth #vue3TokenLogin #vue3 #laravel8Vue3 #laravelVuejs3
Please subscribe to my channel and share the video with your friends.