---
title: Examples
description: Real-world Vue Router Citadel examples — auth guards, nested routes, multi-hook outposts, and production RBAC patterns with complete, runnable code.
---

# 💡 Examples

Practical, copy-pasteable examples of **Vue Router Citadel** in real applications. Each one is a
complete setup you can drop into a project and adapt.

## 🔑 [Auth Guard](/examples/auth)

Global outposts with maintenance mode and authentication checks using `BLOCK` and redirect verdicts.

## 🪆 [Nested Routes](/examples/nested-routes)

Route outpost inheritance from parent routes with priority-based auth, verification, and premium
checks.

## 🪝 [Multi-Hook Outpost](/examples/multiple-hooks)

A single outpost handling `beforeResolve` and `afterEach` hooks with role-based access control.

## 🔀 [Outposts Across Hooks](/examples/different-hooks)

Auth on `beforeEach`, data loading on `beforeResolve`, analytics and page title on `afterEach`.

## 🏭 [Production Patterns](/examples/production-patterns)

Route-scoped outposts for RBAC, onboarding, payment validation, and async account checks with
meta-driven configuration.

---

New to Citadel? Start with the [Getting Started](/guide/getting-started) guide, then come back here
for full patterns.
