import { boot } from 'quasar/wrappers';
// eslint-disable-next-line @typescript-eslint/ban-ts-comment
// @ts-ignore
import gAuthPlugin from 'vue3-google-oauth2';

export default boot(({ app }) => {
  const gauthOption = {
    clientId: process.env.VUE_APP_CLIENT_ID,
    scope: 'profile email',
    prompt: 'consent',
    fetch_basic_profile: true,
    plugin_name: 'chat'
  }
  app.use(gAuthPlugin, gauthOption)
});
