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.
npm run dev:prepare to generate type stubs.npm run dev to start playground in development mode.# Nuxt Module.env in playground