Skip to content

The Postgres development platform. Supabase gives you a dedicated Postgres database to build your web, mobile, and AI applications.

Update with-vue-3.mdx (#3454)

Ezequiel Tojo8d912dcf72ba
diff --git a/web/docs/guides/with-vue-3.mdx b/web/docs/guides/with-vue-3.mdx
index 6f357807e2e..665225f1e0a 100644
--- a/web/docs/guides/with-vue-3.mdx
+++ b/web/docs/guides/with-vue-3.mdx
@@ -490,7 +490,7 @@ Let's create an avatar for the user so that they can upload a profile photo. We
type="file"
id="single"
accept="image/*"
- @change="uploadAvatar($event)"
+ @change="uploadAvatar"
:disabled="uploading"
/>
</div>
@@ -589,6 +589,11 @@ And then we can add the widget to the Account page:
<script>
// Import the new component
import Avatar from './Avatar.vue'
+
+ //
+ components: {
+ Avatar,
+ }
</script>
```