current examples are not working
rahulkumar-aws opened this issue · comments
Current examples are not working and integration instruction in README.md file is also not clear. Please add some nice integration document.
Confirm, I tried this with Rails + Webpack + Vue.js and it didn't work. I ended up using Intro.js directly.
@cmrd-senya @rahulkumar-aws what is an exact issue with it?
Here is how I used it in a Vue component:
import Vue from 'vue'
import VueIntro from 'vue-intro.js'
Vue.use(VueIntro);
This code ran with no errors.
Then I tried to access Vue.$intro
or this.$intro
but it failed. Also Vue.js reported me that v-intro-hint directive wasn't registered.
ok, i will look into it soon
I will try to provide you with a test application where it fails.
owww.. this is not work. I urgently need this.
I found the issue. It's only reproduced if you use ES5 version. Switch to ES6 to avoid it. I am looking into fix.
issue has been fixed.
but prefet ES6 mode since now:
import VueIntro from 'vue-introjs';
Vue.use(VueIntro);