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

[2.x] Restore router.resolveComponent() method #2039

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

pascalbaljet
Copy link

First of all, thanks for all the great work on v2! ❤️

In v1, the resolveComponent method was available on the router instance. This PR restores that for v2.

I am using this in my modal package to resolve the modal component, similarly to resolving a page. Without having this method publicly available, I must duplicate/reference the resolveComponent method in the main app.js file. That would be a shame, as it's so clean and nice in v1 :)

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

Successfully merging this pull request may close these issues.

1 participant