docs: change info to danger for pages root element (#6528)

This commit is contained in:
Eugen Istoc 2022-08-11 17:20:09 -04:00 committed by GitHub
parent 7a846a8292
commit 1072140b05
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -32,8 +32,8 @@ If you have a [`pages/`](/guide/directory-structure/pages) directory, to display
</template>
```
::alert{type=info}
Since Nuxt 3 uses [`<Suspense>`](https://vuejs.org/guide/built-ins/suspense.html#suspense) inside `<NuxtPage>`, we recommend to wrap it into a single root element.
::alert{type=danger}
Since Nuxt 3 uses [`<Suspense>`](https://vuejs.org/guide/built-ins/suspense.html#suspense) inside `<NuxtPage>`, it cannot be set as a root element.
::
::alert{type=warning}