Skip to content

Commit f2e6d0b

Browse files
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"
1 parent 6d63498 commit f2e6d0b

File tree

1 file changed

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

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ 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 run dev
3939
```
4040

4141
### Set up your React project

0 commit comments

Comments
 (0)