You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello, I'd like to ask, if the standalone property in a child component is set to true, does the child component still need to import the shared component again even if the shared component has been imported in app.module.ts?
The text was updated successfully, but these errors were encountered:
Yes, if a child component is marked with standalone: true, it does not use Angular modules like AppModule anymore. This means,
It must explicitly import all the dependencies ,including shared components, directives, pipes, and Angular modules it needs.
Hello, I'd like to ask, if the standalone property in a child component is set to true, does the child component still need to import the shared component again even if the shared component has been imported in app.module.ts?
The text was updated successfully, but these errors were encountered: