diff --git a/apps/docs/content/guides/getting-started/tutorials/with-ionic-vue.mdx b/apps/docs/content/guides/getting-started/tutorials/with-ionic-vue.mdx index baff725b244..fcf2908a826 100644 --- a/apps/docs/content/guides/getting-started/tutorials/with-ionic-vue.mdx +++ b/apps/docs/content/guides/getting-started/tutorials/with-ionic-vue.mdx @@ -78,6 +78,8 @@ meta="name=src/views/Account.vue" With all the components in place, update `App.vue` and the app routes: +<$Partial path="auth_methods.mdx" /> + <$CodeSample path="/user-management/ionic-vue-user-management/src/router/index.ts" lines={[[1, -1]]} diff --git a/examples/user-management/ionic-vue-user-management/.env.example b/examples/user-management/ionic-vue-user-management/.env.example new file mode 100644 index 00000000000..c30944bc688 --- /dev/null +++ b/examples/user-management/ionic-vue-user-management/.env.example @@ -0,0 +1,2 @@ +VUE_APP_SUPABASE_KEY=YOUR_SUPABASE_KEY +VUE_APP_SUPABASE_URL=YOUR_SUPABASE_URL diff --git a/examples/user-management/ionic-vue-user-management/README.md b/examples/user-management/ionic-vue-user-management/README.md index 1e225eafedf..90601f8439e 100644 --- a/examples/user-management/ionic-vue-user-management/README.md +++ b/examples/user-management/ionic-vue-user-management/README.md @@ -25,7 +25,7 @@ This demonstrates how to use: The Vercel deployment will guide you through creating a Supabase account and project. After installation of the Supabase integration, all relevant environment variables will be set up so that the project is usable immediately after deployment 🚀. -[![Deploy with Vercel](https://vercel.com/button)](https://vercel.com/new/clone?project-name=supabase-ionic-vue&repo-name=supabase-ionic-vue&envDescription=Find%20the%20Supabase%20URL%20and%20key%20in%20the%20your%20auto-generated%20docs%20at%20app.supabase.io&repository-url=https%3A%2F%2Fgithub.com%2Fmhartington%2Fsupabase-ionic-vue%2Ftree%2Fmain&env=VUE_APP_SUPABASE_URL%2CVUE_APP_SUPABASE_PUBLISHABLE_KEY) +[![Deploy with Vercel](https://vercel.com/button)](https://vercel.com/new/clone?project-name=supabase-ionic-vue&repo-name=supabase-ionic-vue&envDescription=Find%20the%20Supabase%20URL%20and%20key%20in%20the%20your%20auto-generated%20docs%20at%20app.supabase.io&repository-url=https%3A%2F%2Fgithub.com%2Fmhartington%2Fsupabase-ionic-vue%2Ftree%2Fmain&env=VUE_APP_SUPABASE_URL%2CVUE_APP_SUPABASE_KEY) ## Build from scratch @@ -55,7 +55,7 @@ Update your environment file `environment.ts` export const environment = { // ... supabaseUrl: "YOUR_SUPABASE_URL", - supabasePublishableKey: "YOUR_SUPABASE_PUBLISHABLE_KEY" + supabaseKey: "YOUR_SUPABASE_KEY" }; ``` diff --git a/examples/user-management/ionic-vue-user-management/src/App.vue b/examples/user-management/ionic-vue-user-management/src/App.vue index aa8db75e481..c691d257025 100644 --- a/examples/user-management/ionic-vue-user-management/src/App.vue +++ b/examples/user-management/ionic-vue-user-management/src/App.vue @@ -5,26 +5,27 @@