2
Answers

Error in routing in angular ver 2+

Komal Sharma

Komal Sharma

6y
559
1
I created a file "app.routing.module.ts" and defining my all routes there. Use @NgModule() also to register these routing. After that in html page use "router-outlet". Now, i get an error, "router-outlet" is not a know element. See the picture:
 
 
Answers (2)