the following code:
this.$router.addRoutes([
{
path: "/temp",
name: "Temp",
component: () => import("@/pages/temp/Temp")
}
])
After has been successfully added, how can I detect the existence of Temp in the Router instance?
