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

Route params is empty when reloading on the path #50

Closed
ralphchristianeclipse opened this issue Mar 10, 2017 · 8 comments
Closed

Route params is empty when reloading on the path #50

ralphchristianeclipse opened this issue Mar 10, 2017 · 8 comments

Comments

@ralphchristianeclipse
Copy link

Steps to Reproduce

  • Create a getter named route function return state.route
  • The render it on a component using mapGetters(['route'])

What is expected

Route Params must have properties

###What happened

Route params is empty

@LinusBorg
Copy link
Member

As always, please provide a minimal reproductionon jsfiddle or a smiliar service, or we can't work on this.

@ralphchristianeclipse
Copy link
Author

wait ill make it

@ralphchristianeclipse
Copy link
Author

dont know if i can do this in jsfiddle

@ralphchristianeclipse
Copy link
Author

cause you need to refresh it

@LinusBorg
Copy link
Member

cause you need to refresh it

why? that is not even in your description.

@ralphchristianeclipse
Copy link
Author

ralphchristianeclipse commented Mar 10, 2017

@LinusBorg Edit: https://jsfiddle.net/9curL4re/12/

Here is the jsfidde i don't know if this would work cause the reproduction step is to be on a nested route with a param for example

locahost/test/testParam
then refresh it
so the result will give route.params object in vuex-router-sync not to be empty

but the result is params object is empty

@ralphchristianeclipse
Copy link
Author

I think you need to set this up on a simple vue environment

@LinusBorg
Copy link
Member

LinusBorg commented Mar 10, 2017

I'm sorry but I can't do that.

You are the one seeing the problem, so you should set this up in a simple vue environment and share the repository with iu.

We really like to help, but we have very limited resources. And in many, many cases, the actual problem is a mistake by the user, so we can't afford to "waste" time trying to build reproductions of descriptions of a problem that might simply be a user mistake.

The users have to provide a clear, minimal reproduction, so we can clone and test it immediately.

@posva posva closed this as completed Apr 12, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants