vue-google-signin-button
A simple Vue plugin to include a Google sign-in button into your web app.

Install
This plugin can be installed as a module
$ npm install vue-google-signin-button
or, if you're not in a modular environment, just include it as a <script>
.
Usage
Important:
https://apis.google.com/js/api:client.js
must be included as a<script>
in your web app, as this plugin depends on it.
Step 1: import
and use
the plugin if you're in a modular environment (you don't need this step otherwise, as the plugin will register itself).
Vue
Step 2: Now you have a g-signin-button
global component, ready for use. It's best to demonstrate the usage with an example:
Sign in with Google
That's it!
Looking for the Facebook counterpart?
License
MIT © Phan An