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

Master Vue.js with Vue School Premium

$25 / month

Async Data with Nuxt.js

Get access to this course, 17 others, and future Vue.js courses!

Start Learning

Already got an account? Log in

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.