jQuery not found when using Browserify + NPM #799

Open
r3oath opened this Issue Jul 21, 2016 · 0 comments

Projects

None yet

1 participant

@r3oath
r3oath commented Jul 21, 2016

While using NPM to load jQuery + qTip2 and building with browserify, I get a jQuery not found error message in the console when qTip2 loads.

My app.js file is quite simple, but the two related lines are as follows:

import $ from 'jquery';
import Qtip2 from 'qtip2';

Is there an elegant way to pass $ to qTip2 or expose jQuery globally?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment