Skip to content

Allow components to define their routes in their definition file instead of having them all in one place #298

@asynkayo

Description

@asynkayo

Since components are already taking care of not polluting other places, I believe it would be really nice to have components declare their own routes (subroutes actually) in their own space.
This would really help for huge apps and it would favor components reusability.
I was thinking of a 'routes' object in the component's definition object but this could be in a vue file
as well.

Metadata

Metadata

Assignees

No one assigned

    Labels

    feature requestneeds RFCThis feature request needs to go through the RFC process to gather more information

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions