wavezync / nuxt-vue3-google-signin

Nuxt Module for vue3-google-signin
https://vue3-google-signin.wavezync.com/
MIT License
55 stars 7 forks source link
google-3p google-sign-in googlesignin gsi nuxt nuxt-module nuxt3 nuxtjs vue vue3

nuxt-vue3-google-signin

Build npm npm NPM Docs

Nuxt Module for vue3-google-signin

Usage

Install package

npx nuxi@latest module add nuxt-vue3-google-signin

Initialize

Now you can add following entry to the nuxt.config.ts(or nuxt.config.js)

import { defineNuxtConfig } from 'nuxt/config'

export default defineNuxtConfig({
  modules: [
    'nuxt-vue3-google-signin'
  ],
  googleSignIn: {
    clientId: 'CLIENT ID OBTAINED FROM GOOGLE API CONSOLE',
  }
})

Checkout documentation for more.

Development