Vue-router: page refresh lost the data of route param

Created on 22 Mar 2017  ·  1Comment  ·  Source: vuejs/vue-router

Vue.js / vue-router versions

2.1.2 / 2.1.1

Reproduction Link



http://192.168.2.102:8080/

Steps to reproduce

  1. i added router-link with prams and path of the components
  2. when i clicked the images it will render to another page with the value of the product
  3. here i refresh the page then data is loss

    What is Expected?

i don't want to loss the route.prams data in the page when i refresh the page

What is actually happening?

hi everyone ,
i am pass the object through route one page to another page and i got value through route.prams but problem is when i am refresh the page data is lost please help
thanks,

need repro

Most helpful comment

Hi, please ask questions on the forum or StackOverflow.


Make sure to declare the params on the path of the route definition. Cheers

>All comments

Hi, please ask questions on the forum or StackOverflow.


Make sure to declare the params on the path of the route definition. Cheers

Was this page helpful?
0 / 5 - 0 ratings

Related issues

alexstanbury picture alexstanbury  ·  3Comments

saman picture saman  ·  3Comments

posva picture posva  ·  3Comments

posva picture posva  ·  3Comments

Atinux picture Atinux  ·  3Comments