mirror of
https://github.com/supabase/supabase.git
synced 2026-10-05 09:25:06 +03:00
Update user management example for nuxt 3
This commit is contained in:
1 parent
86980204a0
commit
2922c83942
5 files changed
+11239
-4302
No files matched your search
@@ -6,5 +6,8 @@
|
||||
</template>
|
||||
|
||||
<script setup>
|
||||
const user = useSupabaseUser()
|
||||
useHead({
|
||||
title: 'User Management'
|
||||
})
|
||||
const user = useSupabaseUser()
|
||||
</script>
|
||||
@@ -30,7 +30,7 @@
|
||||
<script setup>
|
||||
const supabase = useSupabaseClient()
|
||||
|
||||
const loading = ref(true)
|
||||
const loading = ref(false)
|
||||
const username = ref('')
|
||||
const website = ref('')
|
||||
const avatar_path = ref('')
|
||||
|
||||
@@ -1,7 +1,6 @@
|
||||
import { defineNuxtConfig } from 'nuxt'
|
||||
|
||||
// https://v3.nuxtjs.org/api/configuration/nuxt.config
|
||||
export default defineNuxtConfig({
|
||||
devtools: { enabled: true },
|
||||
modules: ['@nuxtjs/supabase'],
|
||||
css: ['@/assets/main.css'],
|
||||
})
|
||||
+11227
-4295
File diff suppressed because it is too large.
Load diff
@@ -4,10 +4,13 @@
|
||||
"build": "nuxt build",
|
||||
"dev": "nuxt dev",
|
||||
"generate": "nuxt generate",
|
||||
"preview": "nuxt preview"
|
||||
"preview": "nuxt preview",
|
||||
"postinstall": "nuxt prepare"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@nuxtjs/supabase": "^0.2.0",
|
||||
"nuxt": "3.0.0-rc.11"
|
||||
"@nuxt/devtools": "^0.5.5",
|
||||
"@nuxtjs/supabase": "^0.3.6",
|
||||
"@types/node": "^18",
|
||||
"nuxt": "^3.5.3"
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user