File tree 5 files changed +43
-11
lines changed
5 files changed +43
-11
lines changed Original file line number Diff line number Diff line change 8
8
>
9
9
<SocialAuth
10
10
v-if =" isSignView"
11
- :appearance =" appearance"
12
11
:supabaseClient =" supabaseClient"
12
+ :appearance =" appearance"
13
13
:providers =" providers"
14
14
:providerScopes =" providerScopes"
15
15
:queryParams =" queryParams"
21
21
<template v-if =" ! onlyThirdPartyProviders " >
22
22
<EmailAuth
23
23
v-if =" authView === 'sign_in' || authView === 'sign_up'"
24
- :supabase-client =" supabaseClient"
24
+ :supabaseClient =" supabaseClient"
25
25
:appearance =" appearance"
26
26
:redirectTo =" redirectTo"
27
27
:magicLink =" magicLink"
31
31
/>
32
32
<MagicLink
33
33
v-if =" authView === 'magic_link'"
34
- :supabase-client =" supabaseClient"
34
+ :supabaseClient =" supabaseClient"
35
35
:appearance =" appearance"
36
36
:redirectTo =" redirectTo"
37
37
:showLinks =" showLinks"
42
42
<template v-else >
43
43
<ForgottenPassword
44
44
v-if =" authView === 'forgotten_password'"
45
- :supabase-client =" supabaseClient"
45
+ :supabaseClient =" supabaseClient"
46
46
:appearance =" appearance"
47
47
:redirectTo =" redirectTo"
48
48
:showLinks =" showLinks"
49
49
:i18n =" i18n"
50
50
/>
51
51
<UpdatePassword
52
52
v-if =" authView === 'update_password'"
53
- :supabase-client =" supabaseClient"
53
+ :supabaseClient =" supabaseClient"
54
54
:appearance =" appearance"
55
55
:i18n =" i18n"
56
56
/>
57
57
<VerifyOtp
58
58
v-if =" authView === 'verify_otp'"
59
- :supabase-client =" supabaseClient"
59
+ :supabaseClient =" supabaseClient"
60
60
:appearance =" appearance"
61
61
:otpType =" otpType"
62
62
:i18n =" i18n"
Original file line number Diff line number Diff line change 1
1
export { default as Auth } from './auth/Auth.vue'
2
+ export { default as ForgottenPassword } from './auth/ForgottenPassword.vue'
3
+ export { default as UpdatePassword } from './auth/UpdatePassword.vue'
4
+ export { default as MagicLink } from './auth/MagicLink.vue'
2
5
export {
3
6
default as UserContextProvider ,
4
7
useSupabaseUser
Original file line number Diff line number Diff line change 1
1
import type { Plugin } from 'vue'
2
- import { Auth , UserContextProvider , useSupabaseUser } from './component'
2
+ import {
3
+ Auth ,
4
+ ForgottenPassword ,
5
+ UpdatePassword ,
6
+ MagicLink ,
7
+ UserContextProvider ,
8
+ useSupabaseUser
9
+ } from './component'
10
+ import { injectStrict } from './utils'
11
+ import type {
12
+ UserContextProviderInjection ,
13
+ UserContextProviderKey
14
+ } from './types'
3
15
4
- export { Auth , UserContextProvider , useSupabaseUser }
16
+ export {
17
+ Auth ,
18
+ ForgottenPassword ,
19
+ UpdatePassword ,
20
+ MagicLink ,
21
+ injectStrict ,
22
+ UserContextProvider ,
23
+ useSupabaseUser ,
24
+ UserContextProviderInjection ,
25
+ UserContextProviderKey
26
+ }
5
27
6
28
const plugin : Plugin = {
7
29
install ( app ) {
Original file line number Diff line number Diff line change 56
56
}
57
57
}
58
58
}"
59
- :supabase-client =" supabaseClient"
59
+ :supabaseClient =" supabaseClient"
60
60
:view =" view.id"
61
61
:providers =" ['github', 'google', 'twitter']"
62
62
:socialLayout =" socialLayout"
73
73
</section >
74
74
<section class =" col-span-12 md:col-span-5 lg:col-span-6" >
75
75
<div class =" container mx-auto max-w-full sm:max-w-2xl relative" >
76
- <UserContextProvider :supabase-client =" supabaseClient" >
76
+ <UserContextProvider :supabaseClient =" supabaseClient" >
77
77
<Hero />
78
78
</UserContextProvider >
79
79
Original file line number Diff line number Diff line change 1
1
// Auto generated component declarations
2
- declare module 'vue' {
2
+ import '@vue/runtime-core'
3
+
4
+ declare module '@vue/runtime-core' {
3
5
export interface GlobalComponents {
4
6
Auth : typeof import ( '@nuxtbase/auth-ui-vue' ) [ 'Auth' ]
7
+ ForgottenPassword : typeof import ( '@nuxtbase/auth-ui-vue' ) [ 'ForgottenPassword' ]
8
+ UpdatePassword : typeof import ( '@nuxtbase/auth-ui-vue' ) [ 'UpdatePassword' ]
9
+ MagicLink : typeof import ( '@nuxtbase/auth-ui-vue' ) [ 'MagicLink' ]
10
+ UserContextProvider : typeof import ( '@nuxtbase/auth-ui-vue' ) [ 'UserContextProvider' ]
5
11
}
6
12
}
13
+
7
14
export { }
You can’t perform that action at this time.
0 commit comments