-
-
Notifications
You must be signed in to change notification settings - Fork 4.9k
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
Using Bootstrap 3 - jQuery not defined #214
Comments
you can also install and include jQuery |
ok, found out. Just changed plugins section in webpack.config.js (added ProvidePlugin):
That resolved the issue. As far as I understand now when Bootstrap imported webpack knows where jQuery should come from. Correct? |
ya, that should work |
初学angular2比较难,有什么比较易学angular2的推荐吗?学习angular2怎么样比较容易? |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I'm pretty new to webpack and I'd like to use Bootstrap 3. So I added bootstrap and jquery typings to the project but when I add
and then npm start server I get
'jQuery' is undefined (in console)
Could anyone help?
The text was updated successfully, but these errors were encountered: