Skip to content

Commit

Permalink
docs: fix broken links
Browse files Browse the repository at this point in the history
  • Loading branch information
Guillaume Chau committed Dec 2, 2019
1 parent 6654622 commit 169d6b3
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion packages/docs/src/api/apollo-query.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ Example:
```

::: warning
To enable support of `gql` string tag in Vue templates, see the necessary setup in [the guide](../guide/components/query.md#tag-setup).
To enable support of `gql` string tag in Vue templates, see the necessary setup in [the guide](../guide-components/query.md#tag-setup).
:::

## Props
Expand Down
8 changes: 4 additions & 4 deletions packages/docs/src/api/dollar-apollo.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,9 @@ This is the Apollo manager added to any component that uses Apollo. It can be ac

## Methods

- `query`: execute a query (see [Queries](../guide/apollo/queries.md)).
- `mutate`: execute a mutation (see [Mutations](../guide/apollo/mutations.md)).
- `subscribe`: standard Apollo subscribe method (see [Subscriptions](../guide/apollo/subscriptions.md)).
- `query`: execute a query (see [Queries](../guide-option/queries.md)).
- `mutate`: execute a mutation (see [Mutations](../guide-option/mutations.md)).
- `subscribe`: standard Apollo subscribe method (see [Subscriptions](../guide-option/subscriptions.md)).
- `addSmartQuery`: manually add a Smart Query (not recommended).
- `addSmartSubscription`: add a Smart Subscription (see [Subscriptions](../guide/apollo/subscriptions.md)).
- `addSmartSubscription`: add a Smart Subscription (see [Subscriptions](../guide-option/subscriptions.md)).
- `getClient`: returns the underlying ApolloClient.
4 changes: 2 additions & 2 deletions packages/docs/src/api/smart-query.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,8 @@ Each query declared in the `apollo` definition (that is, which doesn't start wit
- `manual` is a boolean to disable the automatic property update. If you use it, you then need to specify a `result` callback (see example below).
- `deep` is a boolean to use `deep: true` on Vue watchers.
- `skip` is a boolean or a (reactive) function that returns a boolean. The function gets the current component and smart query key as arguments, so it can be used in `$query` and in `ApolloProvider`'s `defaultOptions`.
- `subscribeToMore`: an object or an array of object which are [subscribeToMore options](../guide/apollo/subscriptions.md#subscribetomore).
- `prefetch` is either a boolean or a function to determine if the query should be prefetched. See [Server-Side Rendering](../guide/ssr.md).
- `subscribeToMore`: an object or an array of object which are [subscribeToMore options](../guide-option/subscriptions.md#subscribetomore).
- `prefetch` is either a boolean or a function to determine if the query should be prefetched. See [Server-Side Rendering](../guide-advanced/ssr.md).
- You can also use any other `watchQuery` options (see [Apollo docs](https://www.apollographql.com/docs/react/api/apollo-client.html#ApolloClient.watchQuery)).

Example:
Expand Down
2 changes: 1 addition & 1 deletion packages/docs/src/guide-components/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

## What are Apollo components?

Those are components just like any others. They take a GraphQL document in their prop and use the [scoped slot feature](https://vuejs.org/v2/guide/components-slots.html#Scoped-Slots) to pass down the results.
Those are components just like any others. They take a GraphQL document in their prop and use the [scoped slot feature](https://vuejs.org/v2/guide-components-slots.html#Scoped-Slots) to pass down the results.

The benefit is that you can use those components in the template directly instead of using the `apollo` option of your component. In some cases you don't even need to add a script part at all in your `.vue`! This is all even more declarative.

Expand Down

0 comments on commit 169d6b3

Please sign in to comment.