This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import { ApolloClient } from 'apollo-client'; | |
import { HttpLink } from 'apollo-link-http'; | |
import { InMemoryCache } from 'apollo-cache-inmemory'; | |
import { onError } from 'apollo-link-error'; | |
import { ApolloLink, RequestHandler, Operation, NextLink } from 'apollo-link'; | |
import store from './'; | |
const cache = new InMemoryCache(); | |
const link = new HttpLink({ uri: 'http://localhost:4000' }); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<template> | |
<div class="googleyolo"> | |
<v-btn light v-if="!loggedIn && useLoginButton" @click="login">Login</v-btn> | |
<v-menu v-if="user" bottom left offset-y> | |
<v-btn slot="activator" icon large> | |
<v-avatar size="32px"> | |
<img | |
:src="user.picture" | |
alt="profile_picture" | |
> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
yarn add -D typescript @types/node ts-node nodemon |