Skip to content

Commit

Permalink
chore: improve instructions in developing-using-local-app.md
Browse files Browse the repository at this point in the history
  • Loading branch information
AlessioGr committed May 7, 2024
1 parent bf89bee commit 4e96930
Showing 1 changed file with 2 additions and 2 deletions.
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

0 comments on commit 4e96930

Please sign in to comment.