]> git.ipfire.org Git - thirdparty/vuejs/router.git/commitdiff
docs: update custom transition example (#2069)
authorskirtle <65301168+skirtles-code@users.noreply.github.com>
Tue, 5 Dec 2023 09:23:51 +0000 (09:23 +0000)
committerGitHub <noreply@github.com>
Tue, 5 Dec 2023 09:23:51 +0000 (10:23 +0100)
packages/docs/guide/advanced/transitions.md

index e0c6b92dd6367ac72c6287d6d65fea11a20b791a..3af7f6adaad3f72e702de45551f23596c0061a27 100644 (file)
@@ -38,7 +38,7 @@ const routes = [
 
 ```vue-html
 <router-view v-slot="{ Component, route }">
-  <!-- Use any custom transition and  to `fade` -->
+  <!-- Use a custom transition or fallback to `fade` -->
   <transition :name="route.meta.transition || 'fade'">
     <component :is="Component" />
   </transition>