This example shows how to use gapi & vue together to access Google APIS, using the Apps Script API as an example
Most Google authentication examples in Vue use Firebase, which is a super simple way of building in authentication, but if you need authorization for Google APIS as well, Firebase is not a great choice as it doesn't know how to take care of the refresh token cycle, even as a Google provider. In this example we'll take a look at how to integrate gapi with Vue
https://ramblings.mcpher.com/vizzy-scrviz/google-gapi-and-vue-together/