How does the nuxt primary route have its own components?

clipboard.png
as shown in the figure, index.vue is the main route under the assets/ path, and it is also the parent component of all child routes. Other components under the assets are all child routes (sub-components). When the page reaches this page, only the index.vue component is displayed, and no other components are shown. Click on other routes and do not show the index.vue component. How to make the child route display the component of the parent route in the nuxt? The parent route shows the components of the child route

{

        path:"/bd",
        redirect: "/bd/assets",
        meta: { requiresAuth: true },
        component:() => import("@/components/assets/bd.vue"),
        children: [  
           { path: "/bd/assets",component:() => import("@/components/assets/assets.vue")},
           { path: "/bd/account",component:() => import("@/components/assets/account.vue")}, 
           { path: "/bd/content",component:() => import("@/components/assets/content.vue")}, 
           { 
            path: "/bd/spread", 
            component:() => import("@/components/assets/spread.vue"),
            name:"",
           }
        ] 
    },
    

the routing configuration of nuxt was not used before, so you can ask for help.

Oct.22,2021

this is a jump route (page)
you should router-view your child routes (page)


write a < router-view / >

in your index.vue
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-1b33d52-2bef3.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-1b33d52-2bef3.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?