We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
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
The text was updated successfully, but these errors were encountered:
No branches or pull requests
tauri 要求 nextjs 采用 static output (也就是 output=export),这导致 next-auth 的动态路由
projects-01-swot/frontend/src/app/api/auth/[...nextauth]/route.ts
必须加上generateStaticParams
才行 (但我加了也没用),需要解决方案。考虑到类似 tauri 或者 electron 等需要静态编译的场景是大概率需要的,因此可能的一种方案是放弃 next-auth,暂时还不确定有没有兼容的办法……
相关参考链接:
static build
· Issue #8503 · nextauthjs/next-authThe text was updated successfully, but these errors were encountered: