Closed ghenry closed 6 years ago
I also have this in my Component.vue:
import intro from 'intro.js'
Sorry, I'm used to a vuejs addon having everything it needs.
I don't want to ship introjs library with this plugin. Because a) this is out of scope of this plugin, b) I don't want to lock you with a version of introjs.
It is up to you to choose a way of how to add introjs: via npm or CDN.
Also you can look in examples directory.
Feel free to contact me if you still need support.
On Feb 16, 2018 7:59 PM, "Gavin Henry" notifications@github.com wrote:
I also have this in my Component.vue:
import intro from 'intro.js'
Sorry, I'm used to a vuejs addon having everything it needs.
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/alex-oleshkevich/vue-introjs/issues/16#issuecomment-366294447, or mute the thread https://github.com/notifications/unsubscribe-auth/AAmzyE_LjS18poO7q3O-SmJ6lVtQT2VCks5tVbPmgaJpZM4SInln .
Will do.
I'll submit a doc PR too once I'm done for vuejs sfc usage.
Can you get back to me on the issue subject?
In my haste, it's:
new webpack.ProvidePlugin({
NOOOT
new webpack.DefinePlugin({
Hi,
In the readme you have both:
I am seeing:
[Vue warn]: Error in mounted hook: "ReferenceError: intro is not defined"
after adding this to my
webpack.dev.conf.js