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

Nuxt plugin the facilitates routing features specific to the Student Information Systems pages
1,674
Install
npm install @byu-oit/nuxt-sis-access-management
Latest Version:3.1.1
Older releases:2
License:Apache-2.0
Last Updated:Jan 11, 2023
Links: npm
Maintainer: yoshutch

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
  }
}

Related Packages

nuxt-interpolation

Directive for binding every link to catch the click event, and if it's a relativ...

13,801 44
@byu-oit/nuxt-sis-context

Nuxt plugin that facilitates the BYU SIS application context

3,032
@dolanske/pantry

Front-end framework combining the UI components of Cascade and routing of Crumbs...

434 1
@scayle/storefront-nuxt

Nuxt integration for the SCAYLE Commerce Engine and Storefront API

152,903
nuxt-tsconfig-stub

Stub Nuxt's generated tsconfig.json at installation

70,835 24

Version History

Version Released Vue License
3.1.1 Apache-2.0
3.1.0 Apache-2.0
3.0.0 Apache-2.0
2.0.1 Apache-2.0
2.0.0 Apache-2.0
Pre-releases (2)
Version Released License
1.1.2-1 Apache-2.0
1.1.2-0 Apache-2.0