mirror of
https://github.com/terribleplan/next.js.git
synced 2024-01-19 02:48:18 +00:00
8c1808d7d7
* Add contributing.md * Only reload example app on server changes
11 lines
708 B
Markdown
11 lines
708 B
Markdown
# Contributing to Next.js
|
|
|
|
Our Commitment to Open Source can be found [here](https://zeit.co/blog/oss)
|
|
|
|
1. [Fork](https://help.github.com/articles/fork-a-repo/) this repository to your own GitHub account and then [clone](https://help.github.com/articles/cloning-a-repository/) it to your local device.
|
|
2. Install the dependencies: `npm install`
|
|
3. Run `npm link` to link the local repo to NPM
|
|
4. Run npm run build in a new terminal to build and watch for code changes
|
|
5. Then npm link this repo inside any example app with `npm link next`
|
|
6. Then you can run your example app with the local version of Next.js (You may need to re-run the example app as you change server side code in the Next.js repository)
|