Vuejs is it Possible to return to the previous page with the variables on it were?

Vuejs operates in the mode history.
There is a page with the list of users on the website. The list has filters. They represent an array in the current component
data: () => {
 return {
 users: {
 data: [],
 current_page: 1

 filter: {
 user: ",
 minBalance: 0,
 maxBalance: 1000000,
 hasOffer: "

I pointed out some filters. Went to the page of one of the found user(a separate page with information), and then want to return to the list page, that there was again exhibited these filters. How to implement it, what information about filters is preserved on the previous page?
March 23rd 20 at 18:44
2 answers
March 23rd 20 at 18:46
March 23rd 20 at 18:48
Best via query params:
1) When you apply a filter, you need to send the user to a page with these settings:
2) When the page loads to read the filters from the url, if any

This will work with the direct transition to a filtered page, and when you upgrade, and when you return back

Find more questions by tags Vue.js