3.0.0 • Published 3 years ago

@netsells/nuxt-auth-controller v3.0.0

Weekly downloads
-
License
-
Repository
github
Last release
3 years ago

Nuxt Auth Controller

NPM version

An easier approach to set up Auth within your Nuxt and Adonis project

Installation

Install via the adonis cli

$ npx @adonisjs/cli install @netsells/nuxt-auth-controller --yarn

Also install the auth package you wish to use:

yarn add -D @netsells/nuxt-auth

Usage

Make sure to register the provider inside start/app.js file.

const providers = [
    // Other providers
    '@netsells/nuxt-auth-controller/adonis/providers/AuthControllerProvider',
];

Edit nuxt.config.js

modules: [
    '@netsells/nuxt-auth-controller',
],

Config

The config file is saved as config/nuxt-auth.js make sure to update all paths for the auth and client credentials.

3.0.0

3 years ago

2.0.0

4 years ago

1.2.0

4 years ago

1.1.0

4 years ago

1.0.0

4 years ago