1

In this question we were able to render dynamic routes with 2 or more parameters, but they have to be either prefixed or contained in a folder.

I'd like to be able to render a route like this, where :category would be the first segment of the path, is dynamic, and it could be things like blog, concept, example, task, formula, etc:

 {
    path: ':category/:topic',
    component: TopicComponent,
    data: ROUTE_DATA,
    resolve: { topic: topicResolver },
    canActivate: [topicGuard]
  },

Thoughts?

Ole
  • 41,793
  • 59
  • 191
  • 359

0 Answers0