Skip to content

Commit

Permalink
Cleaned up the Next.js example README
Browse files Browse the repository at this point in the history
  • Loading branch information
Nutlope authored and Jarred-Sumner committed Jul 7, 2022
1 parent 7118df3 commit 3b43a19
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions examples/next/README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
This is a [Next.js](https://nextjs.org/) project bootstrapped with [`create-next-app`](https://github.com/vercel/next.js/tree/canary/packages/create-next-app).
This is a [Next.js](https://nextjs.org/) project bootstrapped with Bun.

## Getting Started

Expand All @@ -10,11 +10,7 @@ bun dev

Open [http://localhost:3000](http://localhost:3000) with your browser to see the result.

You can start editing the page by modifying `pages/index.js`. The page auto-updates as you edit the file.

[API routes](https://nextjs.org/docs/api-routes/introduction) can be accessed on [http://localhost:3000/api/hello](http://localhost:3000/api/hello). This endpoint can be edited in `pages/api/hello.js`.

The `pages/api` directory is mapped to `/api/*`. Files in this directory are treated as [API routes](https://nextjs.org/docs/api-routes/introduction) instead of React pages.
You can start editing the page by modifying `pages/index.tsx`. The page auto-updates as you edit the file.

## Learn More

Expand Down

0 comments on commit 3b43a19

Please sign in to comment.