diff --git a/docs/content/1.getting-started/5.transitions.md b/docs/content/1.getting-started/5.transitions.md index e2a46d402f..7f3ad702ff 100644 --- a/docs/content/1.getting-started/5.transitions.md +++ b/docs/content/1.getting-started/5.transitions.md @@ -212,14 +212,16 @@ Both `pageTransition` and `layoutTransition` keys accept [`TransitionProps`](htt ```ts [nuxt.config.ts] export default defineNuxtConfig({ - pageTransition: { - name: 'fade', - mode: 'out-in' // default - }, - layoutTransition: { - name: 'slide', - mode: 'out-in' // default - } + app: { + pageTransition: { + name: 'fade', + mode: 'out-in' // default + }, + layoutTransition: { + name: 'slide', + mode: 'out-in' // default + } + } }) ``` @@ -257,8 +259,10 @@ Or globally in the `nuxt.config`: ```ts [nuxt.config.ts] defineNuxtConfig({ - pageTransition: false, - layoutTransition: false + app: { + pageTransition: false, + layoutTransition: false + } }) ```