Skip to content

Instantly share code, notes, and snippets.

@tajuszk
Created December 26, 2020 22:11
Show Gist options
  • Save tajuszk/5368afb79b756c1bd39e74ccc3e6d765 to your computer and use it in GitHub Desktop.
Save tajuszk/5368afb79b756c1bd39e74ccc3e6d765 to your computer and use it in GitHub Desktop.
<template>
<div class="container">
<p>sample</p>
</div>
</template>
<script>
export default {
data () {
return {
gapi: null,
}
},
mounted() {
// window.gapi で取得できる
this.gapi = window.gapi;
},
}
</script>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment