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:
Know the answer? Post it — somebody with the same question will find it here.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
Mahesh VermaPosted Jul 5, 2018, 5:18 AM
Komal SharmaPosted Jul 5, 2018, 5:29 AM