You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Missing addition of bootstrap.min.js to the scripts array in with bootstrap wiki-story #5239
I've just discovered, that some parts of bootstrap aren't usable after following the guide given in the corresponding wiki article.
More clearly, an alert I've added, wasn't closed after pressing the corresponding "x" link in the alert div.
My guess is, that the addition of bootstrap.min.js to the scripts array inside .angular-cli.json is missing in the wiki article.
I wouldn't say it's missing, exactly; rather, the focus of the article is on including the bootstrap CSS only. Using the JS-based bootstrap functionality is probably best done via something like ng2-bootstrap.
You may be right, the use of ng2-bootstrap may be better in this case, but I would suggest to add a few sentences saying, that the tutorial in the article only adds the CSS classes and that JS-based bootstrap functionally can't be used with only the given steps.
This story is about adding CSS/SCSS, adding logic behind bootstrap is a much larger discussion that involves jQuery or one of the Angular related bootstrap libraries.
Activity
mattdistefano commentedon Mar 6, 2017
I wouldn't say it's missing, exactly; rather, the focus of the article is on including the bootstrap CSS only. Using the JS-based bootstrap functionality is probably best done via something like ng2-bootstrap.
madoar commentedon Mar 6, 2017
You may be right, the use of ng2-bootstrap may be better in this case, but I would suggest to add a few sentences saying, that the tutorial in the article only adds the CSS classes and that JS-based bootstrap functionally can't be used with only the given steps.
GoNode5 commentedon Mar 6, 2017
Just create a pull request..
#5248
Brocco commentedon Jun 19, 2017
This story is about adding CSS/SCSS, adding logic behind bootstrap is a much larger discussion that involves jQuery or one of the Angular related bootstrap libraries.
angular-automatic-lock-bot commentedon Sep 7, 2019
This issue has been automatically locked due to inactivity.
Please file a new issue if you are encountering a similar or related problem.
Read more about our automatic conversation locking policy.
This action has been performed automatically by a bot.