Skip to content

Commit ee5c7cd

Browse files
committed
docs(installation): add note about new nuxt applications
1 parent 49531dd commit ee5c7cd

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

docs/content/docs/1.getting-started/2.installation.md

+12
Original file line numberDiff line numberDiff line change
@@ -94,6 +94,18 @@ useSeoMeta({
9494
</template>
9595
```
9696

97+
::note{icon="i-lucide-info"}
98+
If you are installing Nuxt Content in a new Nuxt project and you didn't have `pages` directory, you also need to update the `app.vue` file to allow rendering the pages by adding the `NuxtPage` component. (If you already have some pages in your project, you are good to go.)
99+
100+
```vue [app.vue]
101+
<template>
102+
<NuxtLayout>
103+
<NuxtPage />
104+
</NuxtLayout>
105+
</template>
106+
```
107+
::
108+
97109
::tip{icon="i-lucide-rocket"}
98110
That's it! You've now created your first Nuxt Content page.
99111
::

0 commit comments

Comments
 (0)