Skip to main content
Generates a full-page React component inside the @frontmcp/ui-pages package with an MUI scaffold, spec file, and barrel index.

Usage

Options

Generated Files

AdminDashboard.tsx
index.ts

Auto-Updates

The generator also updates three files in your workspace:
  1. ui/pages/project.json — adds the entry to additionalEntryPoints in both build-cjs and build-esm targets
  2. tsconfig.base.json — adds the path alias @frontmcp/ui-pages/AdminDashboard → ./ui/pages/src/AdminDashboard/index.ts (relative, so it resolves with or without a baseUrl)
  3. ui/pages/src/index.ts — appends export * from './AdminDashboard'

Consuming

Example