Skip to content

Commit 0e88b31

Browse files
authored
docs: update text for clarity (#1289)
1 parent ac109ab commit 0e88b31

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/nuxt/auth.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ export default defineNuxtRouteMiddleware(async (to, from) => {
2929
})
3030
```
3131

32-
You can then enable this middleware on any `page/` component:
32+
You can then enable this middleware on any page in the `pages/` directory:
3333

3434
```vue{2-4}
3535
<script setup>
@@ -39,7 +39,7 @@ definePageMeta({
3939
</script>
4040
```
4141

42-
You can even automatically handle the auth state by _watching_ the current user. We recommend you to do this either in a layout or on the `app.vue` component so the watcher is always active:
42+
You can even automatically handle the auth state by _watching_ the current user. We recommend you do this in either a layout or the `app.vue` component so the watcher is always active:
4343

4444
```vue
4545
<script setup>

0 commit comments

Comments
 (0)