Skip to content

Commit

Permalink
docs: fix typo (#72)
Browse files Browse the repository at this point in the history
  • Loading branch information
thunfisch987 committed Feb 16, 2023
1 parent d854b80 commit 8628b90
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions docs/content/2.usage/0.how-to-use.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,9 @@ Params autocomplete takes into account the way vue-router works (As navigating b

The types from `vue-router` and Nuxt navigation utils will be owerwritten, allowing for a safe navigation.

# Exemples for different pages structure
# Examples for different pages structure

All those exemples will be about files present in the `pages` folder.
All those examples will be about files present in the `pages` folder.


## `pages/login.vue`
Expand Down Expand Up @@ -60,7 +60,7 @@ if (route.name === 'foo') {
With `useRoute`, there is an additional guard that can save you some unecessary check if you're confident on the page you're in. See [useRoute docs](./2.useRoute.md) for more info
::

⬆️ Exemple:
⬆️ Example:

```ts
const route = useRoute('foo');
Expand Down Expand Up @@ -166,4 +166,4 @@ if (route.name === 'nested-title-user-id') {
console.log(route.params.id); // Good! ✅ - id: string
console.log(route.params.title); // Good! ✅ - title: string
}
```
```

1 comment on commit 8628b90

@vercel
Copy link

@vercel vercel bot commented on 8628b90 Feb 16, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.