Why do I have so many NG8001 errors in my angular 18 app?
Every non-div element in my app.component.html produces an NG8001 error. I was thinking it might have something to do with angular and standalone components, but I’m not entirely sure. Even though I have the correct imports (or so I thought), Angular doesn’t allow me to use the elements that aren’t divs in my html file.
Is there a way to create nested router-outlet that replace a component partial in angular
Is there a way to load a component inside another component by changing the route.
Let me explain:
I have the basic route config in the app-routing.module.ts
and the router-outlet
tag in the app.component.html
, which can navigate to a path setup in the route config.