-
Notifications
You must be signed in to change notification settings - Fork 12k
Help: How to add the latest Bootstrap 4 beta into projects #7583
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
Don't think this is relevant to CLI. If you take a look at bootstrap docs You will find that they ask you to include jquery's Here is what they're importing
So if you update your angular cli json to look like
the errors will be gone. |
@adityaparab It works, thank you. Maybe Global Lib in wiki Stories should be updated, it does not work for bootstrap 4 beta. |
@hantsy : You're welcome. :) And it sure does need an update.. Will create an issue and raise a PR to get it fixed. |
Excited to have my first contribution in a project like angular. :) |
@hantsy thx. timesaver for me! |
good catch @adityaparab, it's working for me :) |
Closing in favor of #7584, which #7586 will fix when merged. Thanks to @adityaparab 👍 |
i am facing similar issue #9678.Can someone check this issue pls |
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. |
I am trying to add Bootstrap in project by using pure bootstrap lib and its dependencies, and got the following webpack errors in browser console when start up applications.
I have encountered similar problems in before projects when importing JQuery in a webpack build, and webpack ProviderPlugin can fix it. I am not sure this is a JQuery problem, it seems load PopperJS by webpack caused some problems.
And I followed the Wiki stories global libs, but replace it with the latest Bootsrap 4 beta in .angular-cli.js.
I have installed the dependencies in projects.
The text was updated successfully, but these errors were encountered: