Extending Auth plugin
If you have plugins that need to access $auth
, you can use auth.plugins
option.
nuxt.config.js
plugins/auth.js
For example (with SSR), if you need to make sure all instances of axios
are configured:
Last updated
If you have plugins that need to access $auth
, you can use auth.plugins
option.
nuxt.config.js
plugins/auth.js
For example (with SSR), if you need to make sure all instances of axios
are configured:
Last updated