alepha@docs:~/docs/packages/alepha/cli$
cat devtools.md | pretty1 min read
Last commit:
#Alepha - Cli Devtools
#Installation
Part of the alepha package. Import from alepha/cli/devtools.
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.
Registered by default in configs generated by alepha init; opt out with
alepha init --no-devtools. If the package is missing the plugin becomes
a no-op rather than failing config load.
Usage in alepha.config.ts:
ts
1import { devtools } from "alepha/cli/devtools";2 3export default defineConfig({4 plugins: [devtools()],5});