3.1.1 • Published 1 year ago

@byu-oit/nuxt-sis-access-management v3.1.1

Weekly downloads
1
License
Apache-2.0
Repository
github
Last release
1 year ago

Setup

Install

:warning: Requires Nuxt version >= 2.13 :warning:

Install with yarn:

yarn add @byu-oit/nuxt-sis-access-management

Install with npm:

npm install @byu-oit/nuxt-sis-access-management

nuxt.config.js

module.exports = {
    modules: [
        '@byu-oit/nuxt-sis-access-management',
    ],
}

Typescript

Add the types to your "types" array in tsconfig.json after the @nuxt/types (Nuxt 2.12.0+)

tsconfig.json

{
  "compilerOptions": {
    "types": [
      "@nuxt/types",
      "@byu-oit/nuxt-sis-access-management"
    ]
  }
}

Why?

Because of the way nuxt works the $axios property on the context has to be merged into the nuxt Context interface via declaration merging. Adding @byu-oit/nuxt-sis-access-management to your types will import the types from the package and make typescript aware of the additions to the Context interface.

Usage

Set the production environment variable in the nuxt.config file:

{
  publicRuntimeConfig: {
    production: process.env.PRODUCTION || true
  }
}
3.1.1

1 year ago

3.1.0

1 year ago

3.0.0

1 year ago

2.0.1

3 years ago

2.0.0

4 years ago

1.3.4

4 years ago

1.3.3

4 years ago

1.3.2

4 years ago

1.3.1

4 years ago

1.3.0

4 years ago

1.2.6

4 years ago

1.2.5

4 years ago

1.2.4

4 years ago

1.2.3

4 years ago

1.2.2

4 years ago

1.2.1

4 years ago

1.2.0

4 years ago

1.1.7

4 years ago

1.1.6

4 years ago

1.1.5

4 years ago

1.1.4

4 years ago

1.1.3

4 years ago

1.1.2

4 years ago

1.1.2-1

4 years ago

1.1.2-0

4 years ago

1.1.1

4 years ago

1.1.0

4 years ago

1.0.0

4 years ago

0.0.10

4 years ago

0.1.0

4 years ago

0.0.9

4 years ago

0.0.8

4 years ago

0.0.7

4 years ago

0.0.6

4 years ago

0.0.5

4 years ago

0.0.4

4 years ago

0.0.3

4 years ago

0.0.2

4 years ago

0.0.1

4 years ago

0.0.0

4 years ago