Open xXAvoraXx opened 3 months ago
The {children} property always returns undefined even though I'm trying the same thing as written here.
https://pro.ant.design/docs/layout#nested-layout
{ exact: false, path: '/settings', component: './Settings/index', // my nested layout page routes: [ { exact: true, name: 'profile', path: '/settings/profile', component: './Settings/sub-pages/Profile/index', }, { exact: true, name: 'appearance', path: '/settings/appearance', component: './Settings/sub-pages/Appearance/index', }, ], },
I Found this solution, someone merge this --> https://github.com/ant-design/ant-design-pro-site/pull/642
The {children} property always returns undefined even though I'm trying the same thing as written here.
https://pro.ant.design/docs/layout#nested-layout