Using Monorepos
Install and use HeroUI Pro in monorepo projects.
In a monorepo, hpsetup can run from the repository root. It detects Pro packages across workspaces and installs the required files for each project.
Run the command from the workspace root when shared packages and apps need the same generated Pro dependencies.
Install from the root
HEROUI_KEY=hp_xxxx pnpm dlx hpsetup@latestTarget a single app
Use --cwd when only one workspace app should be updated.
HEROUI_KEY=hp_xxxx pnpm dlx hpsetup@latest --cwd apps/webImport styles per app
Each app that renders Pro components must import the generated stylesheet in its own global CSS file.
@import "tailwindcss";
+ @import "./components/heroui-pro/styles.css";