Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

does intro.js work with webpack? #695

Closed
litan1106 opened this issue Mar 17, 2017 · 4 comments
Closed

does intro.js work with webpack? #695

litan1106 opened this issue Mar 17, 2017 · 4 comments

Comments

@litan1106
Copy link

does intro.js work with webpack?

@litan1106
Copy link
Author

I got it to work by exposed a window introjs variable.

@infinityhacks
Copy link

@litan1106 Can you supply more details about this issue ? I met the same issue

@marceloavf
Copy link

Me neither, i'm getting the following error:

"TypeError: __WEBPACK_IMPORTED_MODULE_2_intro_js___default.a.start is not a function"

@rauwebieten
Copy link

I imported the JS like this:

import introJs from "intro.js";

and then do whatever you like.

CSS is imported in my entry scss file:

@import '~intro.js/introjs.css';

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants