inertia icon indicating copy to clipboard operation
inertia copied to clipboard

[2.x] Restore `router.resolveComponent()` method

Open pascalbaljet opened this issue 1 year ago • 0 comments

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 :)

pascalbaljet avatar Oct 16 '24 15:10 pascalbaljet