Skip to content

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

docs: update Supabase guide for Nuxt (#30111)

Arash Ari Sheyda368569508927
diff --git a/apps/docs/content/guides/getting-started/quickstarts/nuxtjs.mdx b/apps/docs/content/guides/getting-started/quickstarts/nuxtjs.mdx
index cbb726b72fb..4de7d702372 100644
--- a/apps/docs/content/guides/getting-started/quickstarts/nuxtjs.mdx
+++ b/apps/docs/content/guides/getting-started/quickstarts/nuxtjs.mdx
@@ -53,18 +53,18 @@ hideToc: true
<StepHikeCompact.Step step={4}>
<StepHikeCompact.Details title="Query data from the app">
- In `src/App.vue`, create a Supabase client using your project URL and public API (anon) key:
+ In `app.vue`, create a Supabase client using your project URL and public API (anon) key:
<ProjectConfigVariables variable="url" />
<ProjectConfigVariables variable="anonKey" />
- Replace the existing content in your `src/App.vue` file with the following code.
+ Replace the existing content in your `app.vue` file with the following code.
</StepHikeCompact.Details>
<StepHikeCompact.Code>
- ```vue src/App.vue
+ ```vue app.vue
<script setup>
import { createClient } from '@supabase/supabase-js'
const supabase = createClient('https://<project>.supabase.co', '<your-anon-key>')
@@ -108,3 +108,9 @@ hideToc: true
</StepHikeCompact.Step>
</StepHikeCompact>
+
+<Admonition type="tip">
+
+The community-maintained [@nuxtjs/supabase](https://supabase.nuxtjs.org/) module provides an alternate DX for working with Supabase in Nuxt.
+
+</Admonition>