项目
在 GitHub 查看
vercel/server-components-notes-demo
关于
使用 Next.js 演示 React Server Components,并部署在 Vercel 上。
网站与应用开发实测星标增长
- 24小时
- 0
- 7天
- -1
- 15天
- 0
- 1个月
- 正在收集历史
各周期内的星标净变化,周期相互重叠,并非每日新增。缺失的测量保持空白。星标代表关注度,不代表软件质量。
README.md
原文Next.js App Router + Server Components Notes Demo
Try the demo live here: next-rsc-notes.vercel.app.
This demo was originally built by the React team. This version has been forked and modified for use with the Next.js App Router.
Introduction
This is a demo app of a notes application, which shows the Next.js App Router with support for React Server Components. Learn more.
Environment Variables
These environment variables are required to start this application (you can create a .env file for Next.js to use):
KV_URL='redis://:<password>@<url>:<port>' # vercel.com/kv
SESSION_KEY='your session key'
OAUTH_CLIENT_KEY='github oauth app id'
OAUTH_CLIENT_SECRET='github oauth app secret'
Running Locally
pnpm installpnpm dev
Go to localhost:3000.
Deploy
You can quickly deploy the demo to Vercel by clicking this link:
License
This demo is MIT licensed. Originally built by the React team
探索相关项目
加载中…