mirror of
https://github.com/nuxt/nuxt.git
synced 2024-11-25 23:22:02 +00:00
docs: migrate transition class names and style prop (#21281)
This commit is contained in:
parent
eee7647095
commit
bc38ee058f
@ -85,7 +85,7 @@ See [more about migrating Nuxt component hooks](/docs/migration/component-option
|
||||
|
||||
### Page and Layout Transitions
|
||||
|
||||
If you have been defining transitions for your page or layout directly in your component options, you will now need to use `definePageMeta` to set the transition.
|
||||
If you have been defining transitions for your page or layout directly in your component options, you will now need to use `definePageMeta` to set the transition. Since Vue 3, [-enter and -leave CSS classes have been renamed](https://v3-migration.vuejs.org/breaking-changes/transition.html). The `style` prop from `<Nuxt>` no longer applies to transition when used on `<slot>`, so move the styles to your `-active` class.
|
||||
|
||||
[Read more about `pages/`](/docs/guide/directory-structure/pages).
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user