Learn Vue JS course Learn Javascript and Vue JS Learn VueJS course Learn VueJS Tutorial

Async Data with Nuxt.js

Get access to this course, 21 others, and 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.