diff options
author | 2022-07-07 15:28:15 -0400 | |
---|---|---|
committer | 2022-07-07 14:14:57 -0700 | |
commit | 3b43a192f174a7c03c3903646bc616da28f4a745 (patch) | |
tree | 7661dfdd87c7112e3c11ff4aa2bbb7c89dc21cfc /examples | |
parent | 7118df32bbcbb51b2046394c55f93b560fc3279a (diff) | |
download | bun-3b43a192f174a7c03c3903646bc616da28f4a745.tar.gz bun-3b43a192f174a7c03c3903646bc616da28f4a745.tar.zst bun-3b43a192f174a7c03c3903646bc616da28f4a745.zip |
Cleaned up the Next.js example README
Diffstat (limited to 'examples')
-rw-r--r-- | examples/next/README.md | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/examples/next/README.md b/examples/next/README.md index 95725a34b..659532f87 100644 --- a/examples/next/README.md +++ b/examples/next/README.md @@ -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 @@ -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 |