Skip to content
Advertisement

Tag: vuejs2

Props doesn’t feed exactly on Vuejs

I am a beginner of vue. I’ve recently started studying vue. I added a prop in my vue component. I reckon the code seems to be correct. but something weird has happened. This is the file 3. Since there are three component would be created, but when I debug and only one props data has seeded while the other two

Passing multiple parameters to Vuex action

I have the following method in my Vue Component I want to pass the parameters (this.urlWithPage, query) to my Vuex action as follows: The problem is that the first parameter url is returning a value but the second one query is returning undefined. My mutation is as follows: How can I get a value from the second parameter? Answer The

Advertisement