# NuxtLike

interface in `@dioramajs/diorama/nuxt`

```ts
import type { NuxtLike } from '@dioramajs/diorama/nuxt'
```

The part of Nuxt the module uses.

```ts
interface NuxtLike
```

## Members

| Name | Type | Description |
| --- | --- | --- |
| `options` | `{ readonly srcDir: string }` | Nuxt options; `srcDir` holds the effects folder. |
| `hook` | `hook(name: 'vite:extendConfig', callback: (config: { … }) => void): unknown` | Registers the hook that adds the Vite plugin. |

Defined in [packages/diorama/src/nuxt.ts](https://github.com/MasterKurosava/diorama/blob/main/packages/diorama/src/nuxt.ts#L8).
