docs: add link to layout transitions (#19770)

This commit is contained in:
Zack Hatlen 2023-03-17 18:25:04 +03:00 committed by GitHub
parent 4635420e8e
commit 52734871b4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -20,7 +20,7 @@ export default defineNuxtConfig({
```
::alert{type=warning}
If you are changing layouts as well as page, the page transition you set here will not run. Instead, you should set a layout transition.
If you are changing layouts as well as page, the page transition you set here will not run. Instead, you should set a [layout transition](/docs/getting-started/transitions#layout-transitions).
::
To start adding transition between your pages, add the following CSS to your [`app.vue`](/docs/guide/directory-structure/app):