Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: improve instructions in developing-using-local-app.md #65475

Open
wants to merge 1 commit into
base: canary
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
4 changes: 2 additions & 2 deletions contributing/core/developing-using-local-app.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,10 +21,10 @@ If you already have an app and it has dependencies, you can follow these steps:
2. In your app's root directory, run:

```sh
pnpm add ./path/to/next.js/{packages/next,node_modules/{react,react-dom}}
pnpm add ./path/to/next.js/{packages/next,node_modules/{react,react-dom,@types/react,@types/react-dom}}
```

to re-install all of the dependencies and point `next`, `react` and `react-dom` to the monorepo versions.
to re-install all of the dependencies and point `next`, `react`, `react-dom`, `@types/react` and `@types/react-dom` to the monorepo versions. Replace `./path/to/next.js/` with the path to your next.js monorepo root.

Note that Next.js will be copied from the locally compiled version as opposed to being downloaded from the NPM registry.

Expand Down