# @byu-oit/nuxt-alerts

> Organize alerts for displaying errors and other messages on a Nuxt client

Latest version **1.0.5** (published 2020-09-02) · Apache-2.0 license · 0 weekly downloads

## Install

```sh
npm install @byu-oit/nuxt-alerts
pnpm add @byu-oit/nuxt-alerts
yarn add @byu-oit/nuxt-alerts
bun add @byu-oit/nuxt-alerts
```

## Health

**Score 25/100 (F)** — status: abandoned.

Positive: has types; no vulnerabilities; high quality score.

Warnings: low downloads; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.0.5 |
| Published | 2020-09-02 |
| First published | 2020-07-13 |
| Weekly downloads | 0 |
| License | Apache-2.0 |
| TypeScript types | bundled |
| Module format | CommonJS |
| Dependencies | 1 |
| Unpacked size | 12.7 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Author | Spencer Tuft |
| Maintainers | arasmus8, blakemorgan, byujol, garygsc, gi60s, jonnytullis, lehinpm, martingarn, mhailstone, mzroth, oscea, pauldeden, snelg, stuft2, yoshutch |
| Keywords | nuxt, typescript, alerts |

## Links

- npm: https://www.npmjs.com/package/@byu-oit/nuxt-alerts
- Repository: https://github.com/byu-oit/nuxt-alerts
- Homepage: https://github.com/byu-oit/nuxt-alerts#readme
- Issues: https://github.com/byu-oit/nuxt-alerts/issues
- npm.io page: https://npm.io/package/@byu-oit/nuxt-alerts

## Dependencies (1)

- [vuex-module-decorators](https://npm.io/package/vuex-module-decorators.md) ^0.17.0

## Alternatives

- [@openai/codex-sdk](https://npm.io/package/@openai/codex-sdk.md) — 731.4K weekly downloads
- [babel-plugin-transform-react-jsx](https://npm.io/package/babel-plugin-transform-react-jsx.md) — 565.0K weekly downloads
- [babel-helper-remove-or-void](https://npm.io/package/babel-helper-remove-or-void.md) — 508.5K weekly downloads
- [@pnpm/store-controller-types](https://npm.io/package/@pnpm/store-controller-types.md) — 186.9K weekly downloads
- [react-native-signature-canvas](https://npm.io/package/react-native-signature-canvas.md) — 155.6K weekly downloads

## Recent versions

- 1.0.5 (latest) — 2020-09-02
- 1.0.4 — 2020-08-12
- 1.0.3 — 2020-08-05
- 1.0.2 — 2020-08-04
- 1.0.1 — 2020-08-04
- 1.0.0 — 2020-08-04
- 0.1.6 — 2020-08-03
- 0.1.5 — 2020-07-31
- 0.1.4 — 2020-07-31
- 0.1.3 — 2020-07-30
- 0.1.2 — 2020-07-30
- 0.1.1 — 2020-07-27
- 0.1.0 — 2020-07-23
- 0.0.9 — 2020-07-23
- 0.0.8 — 2020-07-23
- … 8 more at https://npm.io/package/@byu-oit/nuxt-alerts/versions

## README

# Setup

## Install

Install with yarn:

```shell script
yarn add @byu-oit/nuxt-alerts
```

Install with npm:

```shell script
npm install @byu-oit/nuxt-alerts
```

**nuxt.config.js**

```js
module.exports = {
    modules: [
        '@byu-oit/nuxt-alerts',
    ],
}
```

## Typescript

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

**tsconfig.json**
```json
{
  "compilerOptions": {
    "types": [
      "@nuxt/types",
      "@byu-oit/nuxt-alerts"
    ]
  }
}
```

> **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](https://www.typescriptlang.org/docs/handbook/declaration-merging.html). Adding `@byu-oit/nuxt-alerts` to your types will import the types from the package and make typescript aware of the additions to the `Context` interface.

# Usage

TODO

---
_Source: https://npm.io/package/@byu-oit/nuxt-alerts · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
