nuxt-vue3-google-signin
nuxt-vue3-google-signin
Empower your Nuxt app with Google Sign-In, hassle-free
nuxt-vue3-google-signin
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
- Run
npm run dev:prepareto generate type stubs. - Use
npm run devto start playground in development mode.# Nuxt Module - Add your google client id to
.envin playground