0

I basically need to have a route like my-domain.com/property-123456 instead of my-domain/property/123456. The "property" prefix acts like the folder name. The app didn't recognise the below and redirected to the home page

  { path: '/property-:id', component: SinglePropertyComponent, data: { depth: 3 } },

Is it possible to do that in Angular 5+?

Thanks

zoro74
  • 171
  • 15

0 Answers0