Run the Turborepo command:
npx create-turbo@latest
This Turborepo includes the following packages/apps:
merchant app
:user-app
@repo/ui
: a stub React component library shared by bothmerchant-app
anduser-app
applications@repo/eslint-config
:eslint
configurations (includeseslint-config-next
andeslint-config-prettier
)@repo/typescript-config
:tsconfig.json
s used throughout the monorepo
Each package/app is 100% TypeScript.
To build all apps and packages, run the following command:
cd my-turborepo
pnpm build
To develop all apps and packages, run the following command:
cd my-turborepo
pnpm dev
- started turborepo, made two apps , added tailwind to both of them