标签:Next.js
共 2 篇
在 Next.js 中集成 SQLite
用 better-sqlite3 的同步 API 做数据持久化,并用 globalThis 复用连接。
Next.js 服务端渲染笔记
记录在 App Router 中使用 headers()、Server Actions 与动态渲染的要点。
共 2 篇
用 better-sqlite3 的同步 API 做数据持久化,并用 globalThis 复用连接。
记录在 App Router 中使用 headers()、Server Actions 与动态渲染的要点。