-
Notifications
You must be signed in to change notification settings - Fork 12k
WebPack: jquery + bootstrap-sass #1622
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
Comments
@Daredzik try this : |
@choucry13 For now i include jquery in index.html file and store it in public dir. |
@Daredzik Not sure what your reason is for using the bootstrap/jquery combination. This angular2 package has everything you need to use bootstrap with Angular2. https://github.com/valor-software/ng2-bootstrap |
@Daredzik the ability to add global javascript (like jquery) is currently missing. This is something we're actively working on and probably the biggest priority at the moment. |
Closed in favor of #1717, which better captures this feature. |
This issue has been automatically locked due to inactivity. Read more about our automatic conversation locking policy. This action has been performed automatically by a bot. |
Debian 8.5
ng --version
. If there's nothing outputted, please runin a Terminal:
node --version
and paste the result here:do on your code? etc.
now in pollyfils.ts add:
ng serve
more information.
in bundled js, i can find jquery lib, but in console i get
'Error: Bootstrap's JavaScript requires jQuery'
i try the way to add in main.ts
import $ from 'jquery';
orimport * as jQuery from 'jquery';
but nothing change.Any ideas ?
The text was updated successfully, but these errors were encountered: