Adding new layouts to Angular application #5832
https://github.com/abpframework/abp/issues/5832
how make these
// configureLayouts factory in LayoutProvider layouts.add(['admin', 'MyNameSpace.Layouts.AdminLayoutComponent'])
// route provider routes.add([ { ..., name: 'Admin', layout: 'admin', }]
I can't add the next line,please where can add the next line layouts.add(['admin', 'MyNameSpace.Layouts.AdminLayoutComponent'])
after add " layout: 'admin'," show these error Error: projects/main-core/config/src/providers/route.provider.ts:21:9 - error TS2322: Type '"cusomlayout"' is not assignable to type 'eLayoutType'.
21 layout: 'cusomlayout', ~~~~~~
node_modules/@abp/ng.core/lib/models/common.d.ts:59:9 59 layout?: eLayoutType; ~~~~~~ The expected type comes from property 'layout' which is declared here on type 'Route'