This is a monorepo example using Rush with a single Next.js using @vercel/remote-rush
.
You can choose from one of the following methods to use this repository:
Deploy the example using Vercel:
Execute create-next-app
with npm, Yarn, or pnpm to bootstrap the example:
npx create-next-app --example https://github.com/vercel/remote-cache/tree/main/examples/rush rush-monorepo
yarn create next-app --example https://github.com/vercel/remote-cache/tree/main/examples/rush rush-monorepo
pnpm create next-app --example https://github.com/vercel/remote-cache/tree/main/examples/rush rush-monorepo
To build the projects in this repo, use the following commands:
npm install -g @microsoft/rush
rush install
rush build
Visit the Rush Documentation to learn more.