@byu-oit/nuxt-sis-access-management
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
$axiosproperty on the context has to be merged into the nuxtContextinterface via declaration merging. Adding@byu-oit/nuxt-sis-access-managementto your types will import the types from the package and make typescript aware of the additions to theContextinterface.
Usage
Set the production environment variable in the nuxt.config file:
{
publicRuntimeConfig: {
production: process.env.PRODUCTION || true
}
}
Related Packages
Directive for binding every link to catch the click event, and if it's a relativ...
Front-end framework combining the UI components of Cascade and routing of Crumbs...
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 | ||
| 1.3.4 | Apache-2.0 | ||
| 1.3.3 | Apache-2.0 | ||
| 1.3.2 | Apache-2.0 | ||
| 1.3.1 | Apache-2.0 | ||
| 1.3.0 | Apache-2.0 | ||
| 1.2.6 | Apache-2.0 | ||
| 1.2.5 | Apache-2.0 | ||
| 1.2.4 | Apache-2.0 | ||
| 1.2.3 | Apache-2.0 | ||
| 1.2.2 | Apache-2.0 | ||
| 1.2.1 | Apache-2.0 | ||
| 1.2.0 | Apache-2.0 | ||
| 1.1.7 | Apache-2.0 | ||
| 1.1.6 | Apache-2.0 | ||
| 1.1.5 | Apache-2.0 | ||
| 1.1.4 | Apache-2.0 | ||
| 1.1.3 | Apache-2.0 | ||
| 1.1.2 | Apache-2.0 | ||
| 1.1.1 | Apache-2.0 | ||
| 1.1.0 | Apache-2.0 | ||
| 1.0.0 | Apache-2.0 | ||
| 0.1.0 | ^2.6.11 | Apache-2.0 | |
| 0.0.10 | ^2.6.11 | Apache-2.0 | |
| 0.0.9 | ^2.6.11 | Apache-2.0 | |
| 0.0.8 | ^2.6.11 | Apache-2.0 |
Showing the latest 30 of 38. See every release on npm
Pre-releases (2)
| Version | Released | License |
|---|---|---|
| 1.1.2-1 | Apache-2.0 | |
| 1.1.2-0 | Apache-2.0 |