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

Is it possible to create a parameter with a default value in the route definition? #2698

leonel1524 opened this Issue Apr 9, 2019 · 2 comments


None yet
3 participants
Copy link

leonel1524 commented Apr 9, 2019

I need to access a dynamic route with parameters but in case the parameter is not sent dynamically, assign a default value
I have this path: 'my-path/:param'
I would like to assign a default value to :param for example zero


This comment has been minimized.

Copy link

vue-bot commented Apr 9, 2019

Hello, your issue has been closed because it does not conform to our issue requirements. In order to ensure every issue provides the necessary information for us to investigate, we require the use of the Issue Helper when creating new issues. Thank you!

@vue-bot vue-bot closed this Apr 9, 2019


This comment has been minimized.

Copy link

posva commented Apr 9, 2019

create a redirect route

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.