nuxt-vue3-google-signin
Version:
[](https://github.com/wavezync/nuxt-vue3-google-signin/actions/workflows/build.yaml) [](https:/
39 lines (26 loc) • 1.34 kB
Markdown
# nuxt-vue3-google-signin
[](https://github.com/wavezync/nuxt-vue3-google-signin/actions/workflows/build.yaml) [](https://www.npmjs.com/package/nuxt-vue3-google-signin)   [](https://vue3-google-signin.wavezync.com/)
Nuxt Module for [vue3-google-signin](https://vue3-google-signin.wavezync.com/)
## Usage
### Install package
```bash
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`)
```ts
import { defineNuxtConfig } from 'nuxt/config'
export default defineNuxtConfig({
modules: [
'nuxt-vue3-google-signin'
],
googleSignIn: {
clientId: 'CLIENT ID OBTAINED FROM GOOGLE API CONSOLE',
}
})
```
Checkout [documentation](https://vue3-google-signin.wavezync.com/) for more.
## Development
- Run `npm run dev:prepare` to generate type stubs.
- Use `npm run dev` to start [playground](./playground) in development mode.# Nuxt Module
- Add your google client id to `.env` in playground