Test: Google oauth

This commit is contained in:
Kamigen
2024-04-20 23:11:20 -04:00
parent 4b1989587c
commit ec32a525a9
9 changed files with 68 additions and 27 deletions

View File

@@ -9,6 +9,7 @@ import { createVuetify } from 'vuetify'
import * as components from 'vuetify/components'
import * as directives from 'vuetify/directives'
import clientPlugin from './plugins/api.js'
import vueGoogleOauth from 'vue3-google-login'
const vuetify = createVuetify({
components,
@@ -20,6 +21,9 @@ const app = createApp(App);
// Create an axios client preconfigured to the Hutopy API.
app.use(clientPlugin);
app.use(vueGoogleOauth, {
clientId: import.meta.env.VITE_GOOGLE_CLIENT_ID,
})
app.use(createPinia());
app.use(vuetify);
app.use(router);