Skip to content

Commit

Permalink
docs: add warning for <NuxtPage/> existence in app.vue (#2244)
Browse files Browse the repository at this point in the history

---------

Co-authored-by: Farnabaz <farnabaz@gmail.com>
  • Loading branch information
mdartic and farnabaz committed Aug 24, 2023
1 parent 3db06b2 commit b32562e
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions docs/content/2.get-started.md
Original file line number Diff line number Diff line change
Expand Up @@ -131,6 +131,10 @@ To render content pages, add a [catch-all route](https://nuxt.com/docs/guide/dir
</template>
```

::alert{type="warning"}
⚠️ If you have an `app.vue` file at the project's root, ensure that you include [`<NuxtPage />`](https://nuxt.com/docs/api/components/nuxt-page#nuxtpage) in its template to render pages.
::

::alert{type="warning"}
⚠️ Content v2 requires [Nuxt 3](https://nuxt.com). If you are using Nuxt 2, checkout [Content v1 documentation](/v1/getting-started/installation).
::
Expand Down

0 comments on commit b32562e

Please sign in to comment.