We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
In lesson 8, Greg creates a new Axios instance:
import axios from 'axios' const apiClient = axios.create({ baseURL: `http://localhost:3000`, withCredentials: false, headers: { Accept: 'application/json', 'Content-Type': 'application/json' } })
However, in lesson 6 we already installed and configured the Nuxt Axios module which "gives you a bunch of additional features out of the box":
nuxt.config.js module.exports = { modules: [ '@nuxtjs/axios', ] }
Seeing as we are not using this module in the service, I presume we don't get these benefits, or any of the configuration benefits?
Could we use the original Nuxt instance / is there even a way to use this, so:
import client from `...`
The text was updated successfully, but these errors were encountered:
No branches or pull requests
In lesson 8, Greg creates a new Axios instance:
However, in lesson 6 we already installed and configured the Nuxt Axios module which "gives you a bunch of additional features out of the box":
Seeing as we are not using this module in the service, I presume we don't get these benefits, or any of the configuration benefits?
Could we use the original Nuxt instance / is there even a way to use this, so:
The text was updated successfully, but these errors were encountered: