From c9b648d4bd05198c73e1b616fddb6d7890755ebd Mon Sep 17 00:00:00 2001 From: Hassan Date: Wed, 29 Nov 2023 18:38:51 +0500 Subject: [PATCH] docs: import createApolloProvider is missing (#1515) --- packages/docs/src/guide-components/setup.md | 2 ++ 1 file changed, 2 insertions(+) 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, })