This lesson is for members. Join us?
Subscribe now and get immediate access to this course, 30 more and all future Vue.js courses!
Global Authentication Headers
In this lesson, we're learning how to create a Nuxt.js plugin. We'll create a plugin that extends the Axios module by passing authentication headers along with every HTTP request.
It might sound overwhelming, but the Nuxt framework has provided us with a very elegant way to extend the framework.