You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
You can save the progress of the tour in the local storage of the browser. This way, the user can continue the tour from where they left off.
4
+
5
+
## Using the `saveToLacalStorage` prop
6
+
7
+
To save the progress of the tour, you can use the `saveToLocalStorage` prop in the `VTour` component. This prop accepts a string value of `never`, `step` or `end`.
<u>No progress will be saved.</u> Even if the user has already completed the tour, it will start from the beginning.
24
+
Which means that you are responsible for managing the progress of the tour.
25
+
26
+
### `step`
27
+
The progress of the tour will be saved after each step. So, if the user has completed the first 3 steps and exits, the next time they open the browser, the tour will start from where they left off.
28
+
29
+
### `end`
30
+
The progress of the tour will be saved only after the user has completed the tour. If the user exits the tour before completing it, the next time they open the browser, the tour will start from the beginning.
31
+
::: info
32
+
This is the default value of the `saveToLocalStorage` prop.
0 commit comments