Nuxt transitions
Adding default and custom transitions to your pages and layouts
In this example:
-
pages/index.vue
andpages/fade.vue
use the default page transiton. -
pages/bounce.vue
uses thetransition
property with a bounce transition -
pages/slide.vue
uses thetransition
property with a slide-bottom transition. -
layout/default.vue
contains the classes for all transitions.
Learn more in the Features book in the Transitions chapter.
Loading Sandbox...
Editer cette page sur GitHub
Mise à jour le Mon, July 12, 2021