404 after add new item in menu

Gravatar

Hello,

I cleaned the theme, no problem that's work

I added few items in the menu but when I click on it I get a 404. I compared with the original theme but to me all are ok in ; module definition, components, layout.router.ts

Could you help me, the project is here : https://www.dropbox.com/s/in0gkjvni2ddr22/Flatlogic.rar?dl=0

Thanks,

User profile image
Islambek Akylbekuulu

Hi, You need to finalize your setting of the routes. To solve your problem just import routes on ManagementModule: file - management.module.ts change import to the following:

imports: [ RouterModule.forChild(routes), CommonModule ]

also, you can take a look official documentation of the angular router: https://angular.io/guide/router

Thanks.

Solved
Cookie Consent

By continuing to browse or by clicking 'OK', you agree to the storing of cookies on your device to enhance your site experience and for analytical purposes. To learn more about how we use cookies, please see our cookies policy.