Skip to content

Mark Link Component for nested route #28

@Rastraponovich

Description

@Rastraponovich

Component doesn't know about the nested route.

When it is necessary to mark a nested route from the main one.

`const router = useRouter();
const path = useUnit(router.$path);

const isNested = path.includes(nestedPath)`

maybe there is a more elegant way?

Metadata

Metadata

Assignees

No one assigned

    Labels

    questionFurther information is requested

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions