# @nuxthq/admin-edge

> Enhance Nuxt.com features as a Nuxt module.

Latest version **0.0.1-27627055.9933660** (published 2022-07-12) · MIT license · 0 weekly downloads

> **Deprecated.** This package is deprecated.

## Install

```sh
npm install @nuxthq/admin-edge
pnpm add @nuxthq/admin-edge
yarn add @nuxthq/admin-edge
bun add @nuxthq/admin-edge
```

## Health

**Score 10/100 (F)** — status: deprecated.

Negative: deprecated.

## Facts

| | |
|---|---|
| Version | 0.0.1-27627055.9933660 |
| Published | 2022-07-12 |
| First published | 2022-04-16 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | ESM + CommonJS |
| Dependencies | 4 |
| Unpacked size | 19 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Maintainers | flosciante, farnabaz, atinux, benjamincanac, smarroufin, kevinmarrec, danielroe, larbish |

## Links

- npm: https://www.npmjs.com/package/@nuxthq/admin-edge
- Repository: https://github.com/nuxtlabs/admin
- Homepage: https://github.com/nuxtlabs/admin#readme
- Issues: https://github.com/nuxtlabs/admin/issues
- npm.io page: https://npm.io/package/@nuxthq/admin-edge

## Dependencies (4)

- [@nuxt/kit](https://npm.io/package/@nuxt/kit.md) ^3.0.0-rc.3
- [unstorage](https://npm.io/package/unstorage.md) ^0.4.1
- [socket.io-client](https://npm.io/package/socket.io-client.md) ^4.5.1
- [nuxt-component-meta](https://npm.io/package/nuxt-component-meta.md) ^0.1.5

## Recent versions

- 0.0.1-27627055.9933660 (latest) — 2022-07-12
- 0.0.1-27556623.cee307a — 2022-05-24
- 0.0.1-27549305.d2c61b7 — 2022-05-19
- 0.0.1-27547729.5c0f515 — 2022-05-18
- 0.0.1-27546776.9042260 — 2022-05-17
- 0.0.1-27546723.218b36a — 2022-05-17
- 0.0.1-27546721.603ac78 — 2022-05-17
- 0.0.1-27546523.78b540c — 2022-05-17
- 0.0.1-27546520.38a9290 — 2022-05-17
- 0.0.1-27545200.07a60f1 — 2022-05-16
- 0.0.1-27545087.2a883d2 — 2022-05-16
- 0.0.1-27539132.30187e6 — 2022-05-12
- 0.0.1-27539127.cdac702 — 2022-05-12
- 0.0.1-27538003.bc43256 — 2022-05-11
- 0.0.1-27537976.dfe2967 — 2022-05-11
- … 6 more at https://npm.io/package/@nuxthq/admin-edge/versions

## README

# @nuxthq/admin

Enhance Nuxt.com features as a Nuxt module.

## Installation

```bash
yarn add --dev @nuxthq/admin
```

Then, register the module in your `nuxt.config.js`:

```js
import { defineNuxtConfig } from 'nuxt'

export default defineNuxtConfig({
  buildModules: [
    '@nuxthq/admin'
  ]
})
```

If you want latest updates, please use `@nuxthq/admin-edge` in your `package.json`:

```json
{
  "devDependencies": {
    "@nuxthq/admin": "npm:@nuxthq/admin-edge@latest"
  }
}
```

## Usage

The module will expose an `admin` public runtime config:

```ts
const { admin } = useRuntimeConfig().public

admin.apiURL // default: https://api.nuxt.com
```

It will also expose the `/api/_admin/components` route to list the project components based on https://github.com/nuxtlabs/nuxt-component-meta.

You can configure the admin API URL by setting it in the `.env` or as environment variable in production:

```
NUXT_PUBLIC_ADMIN_API_URL=http://localhost:1337
```

---
_Source: https://npm.io/package/@nuxthq/admin-edge · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
