diff --git a/apps/docs/pages/guides/getting-started/tutorials/with-nuxt-3.mdx b/apps/docs/pages/guides/getting-started/tutorials/with-nuxt-3.mdx index 74e65e21252..39fcff43d78 100644 --- a/apps/docs/pages/guides/getting-started/tutorials/with-nuxt-3.mdx +++ b/apps/docs/pages/guides/getting-started/tutorials/with-nuxt-3.mdx @@ -67,6 +67,26 @@ export default defineNuxtConfig({ Let's set up a Vue component to manage logins and sign ups. We'll use Magic Links, so users can sign in with their email without using passwords. ```vue title=/components/Auth.vue + + - - ``` ### User state @@ -117,6 +118,67 @@ After a user is signed in we can allow them to edit their profile details and ma Let's create a new component for that called `Account.vue`. ```vue title=components/Account.vue + + - - ``` ### Launch! @@ -212,16 +215,16 @@ Let's create a new component for that called `Account.vue`. Now that we have all the components in place, let's update `app.vue`: ```vue title=app.vue + + - - ``` Once that's done, run this in a terminal window: @@ -243,6 +246,65 @@ Every Supabase project is configured with [Storage](/docs/guides/storage) for ma Let's create an avatar for the user so that they can upload a profile photo. We can start by creating a new component: ```vue title=components/Avatar.vue + + - - ``` ### Add the new widget @@ -328,6 +338,65 @@ Let's create an avatar for the user so that they can upload a profile photo. We And then we can add the widget to the Account page: ```vue title=components/Account.vue + + - - ``` That is it! You should now be able to upload a profile photo to Supabase Storage.