Skip to content

Commit

Permalink
docs: import createApolloProvider is missing (#1515)
Browse files Browse the repository at this point in the history
  • Loading branch information
hassanfayyaz19 committed Nov 29, 2023
1 parent 9d8cc79 commit c9b648d
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions packages/docs/src/guide-components/setup.md
Expand Up @@ -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,
})
Expand Down

0 comments on commit c9b648d

Please sign in to comment.