← 输入框|github.com|刷新
Skip to content

Missing addition of bootstrap.min.js to the scripts array in with bootstrap wiki-story #5239

Closed

Description

@madoar

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.

Activity

  1. mattdistefano commented on Mar 6, 2017

    @mattdistefano

    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.

  2. madoar commented on Mar 6, 2017

    @madoar
    Author

    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.

  3. GoNode5 commented on Mar 6, 2017

    @GoNode5

    Just create a pull request..
    #5248

  4. added
    area: docs
    on Mar 17, 2017
  5. Brocco commented on Jun 19, 2017

    @Brocco
    Contributor

    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.

  6. angular-automatic-lock-bot commented on Sep 7, 2019

    @angular-automatic-lock-bot

    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.

  7. locked and limited conversation to collaborators on Sep 7, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

area: docs

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions