Scaffolding your first Ionify project

Ionify’s recommended starting point is the scaffolder:

It generates a ready-to-run app (optional monorepo + testing presets + smart defaults).


Manual installation

1) Install the CLI

2) Create `ionify.config.ts`

```ts import { defineConfig } from "@ionify/ionify";

export default defineConfig({ entry: "/src/main.tsx", optimizeDeps: { sharedChunks: "auto", vendorPacks: "auto", packSlimming: "auto", }, }); ```

3) Run

Notes

  • `entry` supports project-relative paths (`/src/...` is supported).
  • In a workspace/monorepo, Ionify stores `.ionify/` at the workspace root to share Graph/CAS/deps across apps.
  • If something looks stale during development, deleting `.ionify/` is the “reset” button.
  • See Configs for the full surface (packs, slimming, env handling).