Permalink
9d0b49b Apr 2, 2018
3 contributors

Users who have contributed to this file

@pi0 @shealan @manniL
29 lines (20 sloc) 477 Bytes

Setup

Install with yarn:

yarn add @nuxtjs/auth @nuxtjs/axios

Install with npm:

npm install @nuxtjs/auth @nuxtjs/axios

Edit nuxt.config.js:

modules: [
  '@nuxtjs/axios',
  '@nuxtjs/auth'
],

auth: {
  // Options
}

ℹ️ When adding auth-module to a new Nuxt project ensure you have activated the Vuex store. More information on how to do that can be found on the Nuxt Getting Started Guide.