Example with Next 13 / Pages Router / NextAuth 4 #224
Replies: 2 comments 3 replies
-
|
I’ll work next week to update the documentation, but you can use the generate code button on the https://sdk.vercel.ai playground to generate app router, pages router, svelte and node.js code |
Beta Was this translation helpful? Give feedback.
3 replies
-
|
This discussion was automatically locked because it has not been updated in over 30 days. If you still have questions about this topic, please ask us at community.vercel.com/ai-sdk |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
This is how you can run streaming in the old
pages/apiroute. Surely it's subject to many improvements, but the crucial part — streaming and authentication work correctly without switching toapprouter.Beta Was this translation helpful? Give feedback.
All reactions