Hej,
piszę portal w ASP.Net Core i Angularze. Jednak mam pewien problem. A mianowicie nie mogę wyświetlić zawartości komponentów. Natomiast wyświetla się tylko zawartość indext.html. Czy ktoś wie dlaczego tak się dzieje?
indext.html
<body>
<app-root></app-root>
<h1> TEST </h1>
</body>
app.component.html (nie wyświelta się ani h1 ani component nav)
<app-nav></app-nav>
<h1>app-root</h1>
app.module.ts
import { NavComponent } from './nav/nav.component';
imports: [
NavComponent
],
nav.component.html
<h1>nawigacja</h1>