-
-
Notifications
You must be signed in to change notification settings - Fork 5.1k
New issue
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
How to load modules before plugins in nuxt.config #1127
Comments
Hi. If about Axios module, It is also providing a plugin itself :) Would you please share generated |
Hi pi0. Thank you for your response. Generated index.js is attached. I use axios plugin in '~plugins/auth' |
Hi @solonik1 This is fixed already for 1.0, see https://github.com/nuxt/nuxt.js/blob/dev/lib/core/module.js#L62 |
@solonik1 Temporary patch published with |
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
Nuxt loads plugins before modules (@nuxtjs/axios). Thus the axios instance is not available in plugins. How to change it? thx for your help!
The text was updated successfully, but these errors were encountered: