Nuxt transitions
Adding default and custom transitions to your pages and layouts
In this example:
-
pages/index.vueandpages/fade.vueuse the default page transiton. -
pages/bounce.vueuses thetransitionproperty with a bounce transition -
pages/slide.vueuses thetransitionproperty with a slide-bottom transition. -
layout/default.vuecontains 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