🚨 Black Friday: 85% OFF Flatlogic Generator! 🚨 Build your custom CRM, ERP, or SaaS app with full code ownership—don’t miss out!

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