Nuxt Module for vue3-google-signin
npx nuxi@latest module add nuxt-vue3-google-signin
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.
- Run
npm run dev:prepare
to generate type stubs. - Use
npm run dev
to start playground in development mode.# Nuxt Module - Add your google client id to
.env
in playground