mirror of
https://github.com/vale981/Vulcan
synced 2025-03-12 13:36:37 -04:00
19 lines
467 B
JavaScript
19 lines
467 B
JavaScript
![]() |
import { ApolloClient } from 'apollo-client';
|
||
|
import { ApolloLink } from 'apollo-link';
|
||
|
import watchedMutationLink from './links/watchedMutation'
|
||
|
import errorLink from './links/error'
|
||
|
import httpLink from './links/http'
|
||
|
import meteorAccountsLink from './links/meteor'
|
||
|
import cache from './cache'
|
||
|
|
||
|
|
||
|
export const apolloClient = new ApolloClient({
|
||
|
link: ApolloLink.from([
|
||
|
watchedMutationLink,
|
||
|
errorLink,
|
||
|
meteorAccountsLink,
|
||
|
httpLink
|
||
|
]),
|
||
|
cache,
|
||
|
});
|