# Alepha - Cli Devtools

## Installation

Part of the `alepha` package. Import from `alepha/cli/devtools`.

```bash
npm install alepha
```

## Overview

CLI plugin that integrates @alepha/devtools into the Vite dev server.

This module is intentionally lightweight - it does NOT statically import
`@alepha/devtools` (which pulls in `alepha/react` and `.tsx` files).
Instead, it lazy-loads devtools via Vite's SSR module loader at runtime.

Opt-in: `alepha init` does not register it. Add `@alepha/devtools` as a
devDependency and the plugin to `alepha.config.ts`. If the package is
missing the plugin becomes a no-op rather than failing config load.

Usage in `alepha.config.ts`:

```ts
import { devtools } from "alepha/cli/devtools";

export default defineConfig({
  plugins: [devtools()],
});
```
