Vue requires component reloading

the same file will not be re-rendered and loaded on different routes, nor will v-if, the purpose of re-rendering. In order to switch the animation is effective. two The data can be displayed differently according to the data I pass, and the style is the same.
< transition name= "fade" mode= "out-in" >

<router-view>
</router-view>

< / transition >

import index from"@ / pages/index.vue";
children: [

    {
      path: "path1",
      component: index 
    },
    {
      path: "path2",
      component: index 
    }, 

]

Mar.16,2021

if your watch router changes, re-render


< transition name= "fade" mode= "out-in" >
< router-view: key= "current timestamp" >
< / router-view >
< / transition >

MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1eab3db-203f.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1eab3db-203f.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?