diff --git a/docs/content/3.application-side/4.protecting-pages.md b/docs/content/3.application-side/4.protecting-pages.md index 839f27c7..fd436567 100644 --- a/docs/content/3.application-side/4.protecting-pages.md +++ b/docs/content/3.application-side/4.protecting-pages.md @@ -1,6 +1,7 @@ # Protecting Pages `nuxt-auth` offers different approaches to protect pages: + 1. Global protection: Protects all pages with manual exceptions 2. Local protection: Protects specific pages 3. Custom middleware: Create your own middleware @@ -48,6 +49,7 @@ That's it! Every page of your application will now need authentication for the u ### Disabling the global middleware locally To disable the global middleware on a specific page only, you can use the [`definePageMeta` macro](https://nuxt.com/docs/api/utils/define-page-meta#definepagemeta) to turn `auth` off: + ```vue