Skip to content
This repository has been archived by the owner on Apr 6, 2023. It is now read-only.

Commit

Permalink
docs(getting-started): fix typo in views (#7687)
Browse files Browse the repository at this point in the history
  • Loading branch information
heappynd committed Sep 20, 2022
1 parent 6309d22 commit 523d617
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/content/1.getting-started/3.views.md
Expand Up @@ -88,7 +88,7 @@ You will learn more about pages in the [Routing section](/getting-started/routin

![Layouts are wrapper around pages](/img/getting-started/views/layouts.svg)

Layouts are wrappers around pages that contain a common User Interface for several pages, such as a header and footer display. Layouts are Vue files using `<slot />` components to display the **page** content. The `layout/default.vue` file will be used by default. Custom layouts can be set as part of your page metadata.
Layouts are wrappers around pages that contain a common User Interface for several pages, such as a header and footer display. Layouts are Vue files using `<slot />` components to display the **page** content. The `layouts/default.vue` file will be used by default. Custom layouts can be set as part of your page metadata.

::alert
If you only have a single layout in your application, we recommend using app.vue with the [`<NuxtPage />` component](/api/components/nuxt-page) instead.
Expand Down

0 comments on commit 523d617

Please sign in to comment.