Courses

Async Data with Nuxt.js - Asynchronous Data with Nuxt.js - 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.