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

fix(types): NavItem can only have either link or items #2880

Merged
merged 1 commit into from
Aug 30, 2023

Conversation

evanryuu
Copy link
Contributor

Currently, if both link and items are provided for a navItem, items will not work(dropdown will not show).

image

The navItem should only have either link or items key, so it should throw error in ts when a navItem receives both link and items.
image

Conflict Example repo

@brc-dd brc-dd merged commit 12ef12d into vuejs:main Aug 30, 2023
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Sep 7, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants