This plugin can be installed as a module
$ npm install vue-google-signin-button
or, if you're not in a module environment, just include it as a
https://apis.google.com/js/api:client.jsmust be included as a
<script>in your web app, as this plugin depends on it.
use the plugin if you're in a module environment (you don't need this step otherwise, as the plugin will register itself).
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
MIT © Phan An