Ngx-bootstrap: [question] Angular 5 support

Created on 2 Nov 2017  路  11Comments  路  Source: valor-software/ngx-bootstrap

Is it safe to use ngx-bootstrap 1.x with Angular 5? Or shall I wait for 2.x to be stable?

Most helpful comment

@cipchk Using [email protected] resolves that

All 11 comments

So for now 1.x doesn't cut it.

Just noticed date picker template still uses deprecated <template> syntax but that's the only thing I found out yet.

getting error vis ng build -prod:

ERROR in Error at C:/Users/asdf/Desktop/work/ngx-countdown/node_modules/ngx-bootstrap/datepicker/daypicker.component.d.ts.DayPickerComponent.html(53,38):  ("
  </thead>
  <tbody>
    <template ngFor [ngForOf]="rows" [ERROR ->]let-rowz="$implicit" let-index="index">
      <tr *ngIf="!(datePicker.onlyCurrentMonth && rowz[0].sec")
Error at C:/Users/asdf/Desktop/work/ngx-countdown/node_modules/ngx-bootstrap/datepicker/daypicker.component.d.ts.DayPickerComponent.html(53,59):  ("
  </thead>
  <tbody>
    <template ngFor [ngForOf]="rows" let-rowz="$implicit" [ERROR ->]let-index="index">
      <tr *ngIf="!(datePicker.onlyCurrentMonth && rowz[0].secondary && rowz[6].sec")

@cipchk Using [email protected] resolves that

is anyone already using the 2.x in production?

I have an app with 2.0.0-beta.7 and today I've tested it with Angular 5. Didn't have any issues so far.

I will publish beta as default today, to avoid such questions :)

@valorkin for a production environment, would you recommend to stay with ngx-bootstrap 1.x and angular 4.x until the next ngx-bootstrap becomes stable, or it's better to use the newest even if it's still beta?

It's better to use beta, cuz we use it in prod :)

@valorkin ok, thanks a lot

Using angular 4.2 or 5.2, ngx-bootstrap is said to be an invalid install by npm no matter what version of it I use. I'm pulling my hair out because I can't publish my application as the "dotnet publish" command unisntalls "ngx-bootstrap" from my application everytime and then exits saying it can't find "ngx-bootstrap". ngx-boostrap 2.0 says it requires angular 5.2 which I have and it still gets removed by "dotnet publish" every time....

maybe donnet publish has it's own package management control

Was this page helpful?
0 / 5 - 0 ratings

Related issues

haisaco picture haisaco  路  3Comments

KimBum picture KimBum  路  3Comments

juanitavollmering picture juanitavollmering  路  3Comments

tuoitrexuquang picture tuoitrexuquang  路  3Comments

phmello picture phmello  路  3Comments