ANGULAR ROUTE 2+ [closed]

1

I've separated my route modules: 1 - product.routing.module.ts Where do I have the route of / product and its daughters / product / new / product / edit 2 - app.routing.module.ts Where I have the root routes of my application / orders / customers but did not put the route / product

When I put it in my app.module.routing.ts {path: '**', component: PageNotFoundComponent}

When I access my route / products the PageNotFoundComponent

It only works if I put path: '*' (with an asterisk) but does not load the child routes of / products, what should I do?

HELP; /

    
asked by anonymous 15.11.2018 / 20:52

0 answers