Skip to content

Comments

docs(migrationV5/vue): fix @ai-sdk/vue migration#7069

Merged
lgrammel merged 1 commit intovercel:mainfrom
albertlast:fixV5VueMigrationGuide
Jul 7, 2025
Merged

docs(migrationV5/vue): fix @ai-sdk/vue migration#7069
lgrammel merged 1 commit intovercel:mainfrom
albertlast:fixV5VueMigrationGuide

Conversation

@albertlast
Copy link
Contributor

copy the code from "wire up the ui"

Background

Since the change from useChat to Chat is happening the message handling did change,
in the "wire up th ui" a working code already mention: https://v5.ai-sdk.dev/docs/getting-started/nuxt#wire-up-the-ui
copy the logic to the migration doc.

Subject: https://v5.ai-sdk.dev/docs/migration-guides/migration-guide-5-0#usechat-replaced-with-chat-class

Summary

Add e.preventDefault(); to the handleSubmit methode

copy the code from "wire up the ui"
@albertlast albertlast changed the title doc(migrationV5/vue): fix @ai-sdk/vue migration docs(migrationV5/vue): fix @ai-sdk/vue migration Jul 5, 2025
@lgrammel lgrammel merged commit 6502d79 into vercel:main Jul 7, 2025
8 of 9 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants