Skip to content

Commit ad9ac7b

Browse files
committed
docs: fix
1 parent ae2cf03 commit ad9ac7b

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

docs/nuxt/auth.md

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -70,11 +70,9 @@ export default defineNuxtRouteMiddleware(async (to, from) => {
7070

7171
:::
7272

73-
````vue{2-4}
74-
7573
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:
7674

77-
```vue
75+
```vue{8-15}
7876
<script setup>
7977
const router = useRouter()
8078
const route = useRoute()

0 commit comments

Comments
 (0)