Level up with access to over 250 vue.js lessons
In this lesson, we will switch to axios, which is a full-blown, promise-based HTTP client that both works in the browser and the Node environment.
Since we'll be pre-rendering our website in this course, Nuxt needs an HTTP client that also works server side.
Install axios with yarn
yarn add axios
Install axios with npm
npm install axios