GlobalHive / vuejs-tour

VueJS Tour is a lightweight, simple and customizable tour plugin. It provides a quick and easy way to guide your users through your application.
https://globalhive.github.io/vuejs-tour/
MIT License
79 stars 6 forks source link

The result saving customisation #39

Closed RafRaf closed 8 months ago

RafRaf commented 8 months ago

It would be nice to have an option to turn on and off the result storing in localStorage. I would like to store the result on my own and it looks like it isn't possible right now.

GlobalHive commented 8 months ago

Hi @RafRaf

Thanks for raising the issue. I've added it to our backlog for future implementation. While I can't provide an exact timeline, rest assured it's on our radar. Your input is valuable, and we appreciate your patience.

Best, @GlobalHive

GlobalHive commented 8 months ago

Hi @RafRaf

Your request has been added.

  1. Update package to 1.4.0
  2. Add saveToLocalStorage to your VTour component: <VTour :steps="steps" saveToLocalStorage='custom'/> OR if you want every step to be saved: <VTour :steps="steps" saveToLocalStorage='step'/>
  3. If 'custom' is used, the component won't save anything, so its up to you how you wanna do it.
  4. Profit!

Docs

Best, @GlobalHive