diff --git a/packages/docs/src/guide-components/setup.md b/packages/docs/src/guide-components/setup.md index 3fc27815..d037f0a2 100644 --- a/packages/docs/src/guide-components/setup.md +++ b/packages/docs/src/guide-components/setup.md @@ -37,6 +37,8 @@ Use the `@apollo/client/core` import path otherwise you will also import React. The provider holds the Apollo client instances that can then be used by all the child components. ```js +import { createApolloProvider } from '@vue/apollo-option' + const apolloProvider = createApolloProvider({ defaultClient: apolloClient, })