# Layers

> This example shows how to use the extends key in `nuxt.config.ts`.

This example shows how to use the `extends` key in `nuxt.config.ts` to use the `base/` directory as a base Nuxt application, and use its components, composables or config and override them if necessary.

<read-more to="/docs/getting-started/layers">



</read-more>

<sandbox branch="main" dir="examples/advanced/config-extends" file="nuxt.config.ts" repo="nuxt/examples">



</sandbox>
