Skip to content

Commit 05bb510

Browse files
MaedahBatoolijjk
andauthored
Details about starting dev server Next.js docs. (vercel#32002)
The details about starting a development server and viewing your changes locally are wrongly placed in the Getting Started section in the Next.js Docs. Currently, it resides under the "Manual Setup" section. Ideally, it should be under the "Setup" section. ## Feature - [x] Related issues linked using vercel#31998 - [x] Documentation added ## Documentation / Examples - [x] Make sure the linting passes by running `yarn lint` Co-authored-by: JJ Kasper <22380829+ijjk@users.noreply.github.com>
1 parent 9bcf678 commit 05bb510

1 file changed

Lines changed: 5 additions & 5 deletions

File tree

docs/getting-started.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,11 @@ npx create-next-app@latest --typescript
3535
yarn create next-app --typescript
3636
```
3737

38-
After the installation is complete, follow the instructions to start the development server. Try editing `pages/index.js` and see the result on your browser.
38+
After the installation is complete:
39+
40+
- Run `npm run dev` or `yarn dev` to start the development server on `http://localhost:3000`.
41+
- Visit `http://localhost:3000` to view your application.
42+
- Edit `pages/index.js` and see the updated result in your browser.
3943

4044
For more information on how to use `create-next-app`, you can review the [`create-next-app` documentation](/docs/api-reference/create-next-app.md)
4145

@@ -83,10 +87,6 @@ function HomePage() {
8387
export default HomePage
8488
```
8589

86-
To start developing your application run `npm run dev` or `yarn dev`. This starts the development server on `http://localhost:3000`.
87-
88-
Visit `http://localhost:3000` to view your application.
89-
9090
So far, we get:
9191

9292
- Automatic compilation and bundling (with webpack and babel)

0 commit comments

Comments
 (0)