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
Labels
question Further information is requested

Comments

@Rastraponovich
Copy link
Contributor

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?

@sergeysova sergeysova added the question Further information is requested label Mar 22, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants