I am currently working on implementing a feature intro tutorial for my web application, similar to what can be done with intro.js. However, I am encountering an issue where nothing seems to happen when using intro.js - no error messages or tour messages are displayed. I have tried setting up the necessary data attributes that intro.js requires and calling the tour start function from the mounted method in App.vue, but unfortunately it has not worked. I am interested in hearing from anyone who has experience using libraries like this in conjunction with VueJS.
Code snippet from App.vue:
mounted: function() {
const introJS = require('intro.js')
introJS.introJs().start()
}
Within the same component in its template section:
<div class="card card-accent-info" v-if="!isLoading" data-intro="Test step here" data-step="1">
I have also imported the necessary CSS in App.vue:
@import "~intro.js/minified/introjs.min.css";