Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Mark Link Component for nested route #28

Open
Rastraponovich opened this issue Jan 22, 2024 · 0 comments
Open

Mark Link Component for nested route #28

Rastraponovich opened this issue Jan 22, 2024 · 0 comments

Comments

@Rastraponovich
Copy link

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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant