Skip to content

Commit

Permalink
Update context-helpers.md (#487)
Browse files Browse the repository at this point in the history
Fix a typo in "Accessing the root instance" section

Co-authored-by: Debbie O'Brien <debs-obrien@users.noreply.github.com>
  • Loading branch information
Zoey1988 and debs-obrien committed Aug 7, 2020
1 parent a3232c6 commit 8aee21c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion content/en/guides/concepts/context-helpers.md
Original file line number Diff line number Diff line change
Expand Up @@ -179,7 +179,7 @@ The `$nuxt` helper provides a quick way to find out whether the internet connect

### Accessing the root instance

Besides providing DX/UX features, the `$nuxt` helper also provides a shortcut to the root instance of you application from every other component. But that's not everything — you can also access the `$nuxt` helper through `window.$nuxt` which can be used as an escape hatch to gain access to module methods like `$axios` from outside your Vue components. Anyway, this should be used wisely and **only as last resort**.
Besides providing DX/UX features, the `$nuxt` helper also provides a shortcut to the root instance of your application from every other component. But that's not everything — you can also access the `$nuxt` helper through `window.$nuxt` which can be used as an escape hatch to gain access to module methods like `$axios` from outside your Vue components. Anyway, this should be used wisely and **only as last resort**.

### Refreshing page data

Expand Down

0 comments on commit 8aee21c

Please sign in to comment.