mirror of
https://github.com/nuxt/nuxt.git
synced 2024-11-26 15:42:09 +00:00
docs: change info
to danger
for pages root element (#6528)
This commit is contained in:
parent
7a846a8292
commit
1072140b05
@ -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}
|
||||
|
Loading…
Reference in New Issue
Block a user