mirror of
https://github.com/nuxt/nuxt.git
synced 2024-11-11 08:33:53 +00:00
docs(getting-started): fix typo in views (#7687)
This commit is contained in:
parent
6309d223bb
commit
523d61711e
@ -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.
|
||||
|
Loading…
Reference in New Issue
Block a user