Last updated 5 years ago
Install with yarn:
yarn add @nuxtjs/auth @nuxtjs/axios
Install with npm:
npm install @nuxtjs/auth @nuxtjs/axios
Edit nuxt.config.js:
nuxt.config.js
modules: [ '@nuxtjs/axios', '@nuxtjs/auth' ], auth: { // Options }
::: warning IMPORTANT When adding auth-module to a new Nuxt project ensure you have . More information on how to do that can be found on the . :::
auth-module