You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
You can then enable this middleware on any `page/`component:
32
+
You can then enable this middleware on any page in the `pages/`directory:
33
33
34
34
```vue{2-4}
35
35
<script setup>
@@ -39,7 +39,7 @@ definePageMeta({
39
39
</script>
40
40
```
41
41
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:
0 commit comments