]> git.r.bdr.sh - rbdr/forum/blob - src/config/apollo.js
Use routify and GraphQL server
[rbdr/forum] / src / config / apollo.js
1 import { ApolloClient, InMemoryCache } from '@apollo/client/core';
2 import { apollo as apolloConfig } from './config';
3
4 const cache = new InMemoryCache();
5
6 export const client = new ApolloClient({
7 cache,
8 ...apolloConfig
9 });