Skip to content

feat(router): provide RouteConfig object for AuxRoute #4319

@btford

Description

@btford

Right now, you must do:

@RouteConfig([
  new AuxRoute({ path: '/foo', component: FooCmp })
])

To use auxiliary routes. We should provide a more ES5-friendly version like:

@RouteConfig([
  { auxPath: '/foo', component: FooCmp }
])

Or:

@RouteConfig([
  { path: '/foo', auxComponent: FooCmp }
])

I'm open to suggestions.

Metadata

Metadata

Assignees

No one assigned

    Labels

    effort1: hoursfeatureLabel used to distinguish feature request from other issues

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions