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

feat(vue): allow to change global/inject route name #797

Closed

Conversation

iamandrewluca
Copy link

Closes #796

@iamandrewluca iamandrewluca force-pushed the feat/change-global-route-name branch 6 times, most recently from 33c70a7 to 299f316 Compare December 12, 2024 13:44
@iamandrewluca iamandrewluca force-pushed the feat/change-global-route-name branch from 299f316 to 071c2d2 Compare December 12, 2024 13:44
@bakerkretzmar
Copy link
Collaborator

Thanks a lot for the PR and the detailed issue! We're going to pass on adding this to the plugin for now, it's really just a convenience and we want to keep it super simple. If you want to rename the helper you should create the mixin/provider yourself just like you demonstrated in #796, instead of using Ziggy's included Vue plugin. That way is also less code and gives you complete control over the implementation.

@iamandrewluca iamandrewluca deleted the feat/change-global-route-name branch December 12, 2024 19:28
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.

[vue] Allow to change route global name via options.
2 participants