@netsells/nuxt-auth-controller

3.0.0 • Public • Published

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.

Readme

Keywords

none

Package Sidebar

Install

npm i @netsells/nuxt-auth-controller

Weekly Downloads

0

Version

3.0.0

License

none

Unpacked Size

7.91 kB

Total Files

9

Last publish

Collaborators

  • rebeccaanderton
  • samturrell
  • spamoom
  • jakub.gawron