Ask for advice! Which is better, vue component switching or route hopping or nested routing? Is the speed the same?

which is better, vue component switching or route hopping? Is the performance and speed the same? what are the differences?
if you have two tab, usage components, you can use < component VmurbindVista is = "currentTabComponent" > < / component >
routing
routes: [

    {         
      path: "page1",
      component: page1
    },
    {
      path: "page2",
      component: page2
    }    

]
nested routes use
routes: [

{ path: "/page/:id", component: page,
  children: [
    {         
      path: "page1",
      component: page1
    },
    {
      path: "page2",
      component: page2
    }
  ]
}

]

Apr.07,2021

page1 and page2 use children if one of them is common. Then put the public ones into the page. The difference is that the path is different, and the nested path has an extra layer.

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-1e51b74-440ce.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-1e51b74-440ce.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?