difference between ngx-bootstrap and ng2 bootstrap?

前端 未结 3 1027
独厮守ぢ
独厮守ぢ 2021-02-06 21:47

I\'m making project in bootstrap (UI) and angular 2. I\'m new to both things My friend suggests me to use ng2 bootstrap I am so much confused between ngx bootstrap and ng2 boot

3条回答
  •  谎友^
    谎友^ (楼主)
    2021-02-06 22:30

    Since Angular2 is released, many components are published as npm modules and most them have prefix - ng2- or angular2- like ng2-bootstrap, angular2-tags-input.

    After releasing Angular4, all those node modules were faced with serious problem - "Do we have to be renamed to ng4 or angular4???"

    Here is an answer written by Igor Minar from Angular Core Team.

    http://angularjs.blogspot.com/2016/12/ok-let-me-explain-its-going-to-be.html

    "It’s just “Angular”"

    As you can see here, Angular2 and Angular4 are all Angular.

    And Upgrading version is not painful anymore like 2 to 4. Just do ng upgrade or ncu -u -a.

    From now angular components should be ngx-something.

提交回复
热议问题