Skip to content

Commit 7dee639

Browse files
ianjmacintoshkodster28
authored andcommitted
Fix tutorial instruction (#20864)
* Fix tutorial instruction Changed `npm start` -> `npm run dev` `npm start` throws an error since it isn't a defined run script I used the more verbose syntax to make it more obvious the user is calling a run script, not running an npm command named "dev" * Update src/content/docs/pages/tutorials/build-an-api-with-pages-functions/index.mdx --------- Co-authored-by: Kody Jackson <[email protected]>
1 parent ea9605e commit 7dee639

File tree

1 file changed

+2
-1
lines changed
  • src/content/docs/pages/tutorials/build-an-api-with-pages-functions

1 file changed

+2
-1
lines changed

src/content/docs/pages/tutorials/build-an-api-with-pages-functions/index.mdx

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,8 @@ In your terminal, create a new React project called `blog-frontend` using the `c
3535
```sh title="Create a new React application"
3636
npx create-vite -t react blog-frontend
3737
cd blog-frontend
38-
npm start
38+
npm install
39+
npm run dev
3940
```
4041

4142
### Set up your React project

0 commit comments

Comments
 (0)