---
template: Example
---

# Layouts

This example shows how to define default and custom layouts.

::ReadMore{link="/guide/directory-structure/layouts"}
::

::sandbox{repo="nuxt/framework" branch="main" dir="examples/routing/layouts" file="pages/index.vue"}