The Vue router is up and running with two pages: Home
and About
.
Everything seems to be functioning properly, however, when I navigate to the About
page and then return to the Home
page, the data is lost. The page isn't refreshing, I'm simply switching between routed pages. Props are being passed to the component.
What could be causing this issue? Why isn't the data persisting in the component after navigating to the About
page?