Open thurdev opened 3 years ago
Just updating, i removed the " . " from "./assets/" and now the lib is imported, but still doesn't work, i can like console.log(Tour) but nothing happen with tour.init() and tour.start()
First I had issues dynamically loading bootstrap-tour. The solution for me was to use a load event handler that ensures that new Tour
is called after the script has been loaded.
Second, only the first loading worked. After resetting the cache and reloading the page, I expected the tour to start again. However, it did not. In order to restart the tour I had to use the option
storage: false,
// also see http://bootstraptour.com/api/
Maybe that option helps you, too.
That said... bootstrap-tour seems to be abandoned. Therefore, maybe use an alternative like intro.js if their license is fine for you.