Separating the routes in angular
Jan 2, 2020 Angular
I don't know why the default .net core angular template all routes in the app.modules.ts like this
If you build more modules, then the codes will become quite unmanageable. This is not clean at all.
I suggest a better practice, to create app.routes.ts.
Then in the app.modules.ts, it will import the routes
This approach is more clear
Trackback address for this post
No feedback yet
Form is loading...