0
rvanwoezik created
ASP.NET CORE & Angular (single solution) .NET Core 3.1 v9.0.0
Hi, tryin to add new page to main module
`<div [@routerTransition]>
<sub-header [title]="'Employees'">
`
</sub-header>
<div [class]="containerClass">
</div>
</div>
In the ts file i have added:
import { AppComponentBase } from '@shared/common/app-component-base';
when using npm start i get the error: error NG8001: 'sub-header' is not a known element:
What am i missing, must be something stupid, existing pages in the main module with sub-headers are working.
Thanks in advance
2 Answer(s)
-
0
Hi,
You need to import the
AppCommonModule
intpo the module which contains the page you are getting this error. -
0
I'm getting old, Alzheimer Light. Thanks!