Created
February 21, 2023 16:09
-
-
Save gsans/865085d97924090f66843e2bc6d4e062 to your computer and use it in GitHub Desktop.
This file contains 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 { createApp } from 'vue' | |
import { DefaultApolloClient } from '@vue/apollo-composable' | |
import { ApolloClient, createHttpLink, InMemoryCache } from '@apollo/client/core' | |
import App from './App.vue' | |
const httpLink = createHttpLink({ | |
uri: 'https://l5z4hz.sse.codesandbox.io/', | |
}) | |
const apolloClient = new ApolloClient({ | |
link: httpLink, | |
cache: new InMemoryCache(), | |
}) | |
createApp(App).provide(DefaultApolloClient, apolloClient).mount('#app') |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment