We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
tauri 要求 nextjs 采用 static output (也就是 output=export),这导致 next-auth 的动态路由 projects-01-swot/frontend/src/app/api/auth/[...nextauth]/route.ts 必须加上 generateStaticParams 才行 (但我加了也没用),需要解决方案。
projects-01-swot/frontend/src/app/api/auth/[...nextauth]/route.ts
generateStaticParams
考虑到类似 tauri 或者 electron 等需要静态编译的场景是大概率需要的,因此可能的一种方案是放弃 next-auth,暂时还不确定有没有兼容的办法……
相关参考链接:
static build