Page 1 of 1

submenu projection question

Posted: 23 Apr 2018, 18:37
by krisp
Hi there,

Question: Why is the helper app.submenu component located inside the app.menu.component.ts file instead of in its own file? Any guidance would be appreciated. I'd like to better understand why submenu and menus have to be at the root level?

I tried moving the side menus to a different location - lower in the component and folder hierarchy. However, moving the menus breaks the submenu and I get this error: Can't bind to 'item' since it isn't a known property of 'ul' . Please note I have double and triple checked my imports and also tried a nested module.

Is there some trick to moving the menus into a different subfolder within the app/src area?

Cheers,

Kris