Home > other >  Angular modules managing issue
Angular modules managing issue

Time:01-04

I am trying to well manage folders in my Angular app.

I created a /components one for shared components and a /pages one for page components. Each of them have a module, and the problem is that I cannot access shared components from a page component.

Here is the code: https://codesandbox.io/s/lucid-rgb-m7qqlr

Thanks for help !

CodePudding user response:

You need to import the shared module in the page module. This will make the components in the shared module available to the page module.

  • Related