You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+4-9
Original file line number
Diff line number
Diff line change
@@ -8,18 +8,17 @@ This repo contains the source code and documentation powering [react.dev](https:
8
8
### Prerequisites
9
9
10
10
1. Git
11
-
1. Node: any 12.x version starting with v12.0.0 or greater
12
-
1. Yarn: See [Yarn website for installation instructions](https://yarnpkg.com/lang/en/docs/install/)
11
+
1. Node and NPM
13
12
1. A fork of the repo (for any contributions)
14
13
1. A clone of the [reactjs.org repo](https://github.com/reactjs/reactjs.org) on your local machine
15
14
16
15
### Installation
17
16
18
-
`yarn` to install the website's npm dependencies
17
+
`npm i` to install the website's npm dependencies
19
18
20
19
### Running locally
21
20
22
-
1.`yarn dev` to start the development server (powered by [Next.js](https://nextjs.org/))
21
+
1.`npm run dev` to start the development server (powered by [Next.js](https://nextjs.org/))
23
22
2.`open http://localhost:3000` to open the site in your favorite browser
24
23
25
24
## Contributing
@@ -45,7 +44,7 @@ The documentation is divided into several sections with a different tone and pur
45
44
### Test the change
46
45
47
46
1. If possible, test any visual changes in all latest versions of common browsers, on both desktop and mobile.
48
-
2. Run `yarn check-all`. (This will run Prettier, ESLint and validate types.)
47
+
2. Run `npm run check-all`. (This will run Prettier, ESLint and validate types.)
49
48
50
49
### Push it
51
50
@@ -62,10 +61,6 @@ If you are interested in translating `reactjs.org`, please see the current trans
62
61
63
62
If your language does not have a translation and you would like to create one, please follow the instructions at [reactjs.org Translations](https://github.com/reactjs/reactjs.org-translation#translating-reactjsorg).
64
63
65
-
## Troubleshooting
66
-
67
-
-`yarn reset` to clear the local cache
68
-
69
64
## Acknowledgements
70
65
71
66
This website was built by forking the source code of the React documentation website at [react.dev](https://react.dev) at the [source repository](https://github.com/reactjs/react.dev).
0 commit comments