Nuxt 05 💚 Layouts, Middleware & Plugins — Structuring shared UIs with app/layouts/, guarding routes, and extending the app lifecycle
As a Nuxt application grows, three concerns appear almost immediately: the same navigation shell needs to wrap multiple pages without repeating markup, certain routes must be gated behind authentication or feature flags, and the framework needs to be extended with behavior that runs once at startup rather than per-component. Nuxt answers these three concerns with…