Mention running local changes inside monorepo (#27050)

This commit is contained in:
JJ Kasper 2021-07-09 11:39:00 -05:00 committed by GitHub
parent d22ecd97f4
commit 6eaa6853ce
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -93,6 +93,14 @@ EXAMPLE=./test/integration/basic
## Running your own app with locally compiled version of Next.js
1. Move your app inside of the Next.js monorepo.
2. Run with `yarn next-with-deps ./app-path-in-monorepo`
This will use the version of `next` built inside of the Next.js monorepo and the main `yarn dev` monorepo command can be running to make changes to the local Next.js version at the same time (some changes might require re-running `yarn next-with-deps` to take affect).
or
1. In your app's `package.json`, replace:
```json