Base solution for your next web application
Ends in:
01 DAYS
01 HRS
01 MIN
01 SEC
Open Closed

.Net core + angular 6.0 to .Net core + angular 7.0 upgrade #7164


User avatar
0
qbd created

Hi,

We have upgraded .Net core + angular 6.0 to .Net core + angular 7.0. After upgrading to 7.0 version, which components we created those are not working and throwing the errors.

1) ERROR ReferenceError: $ is not defined
2) jQuery__WEBPACK_IMPORTED_MODULE_7__(...).selectpicker
3) From list edit dropdown toggle is not working (edit, delete actions)
4) jQuery is not defined
5) $(self.roleComboboxElement.nativeElement).selectpicker('refresh');

Above all working in .Net core + angular 6.0 version and now it's not working (.Net core + angular 7.0)

Please help us to resolve these issues.

Thanks in advance
//qbd

1 Answer(s)
  • User Avatar
    0
    ryancyq created
    Support Team

    Hi @qbd, i think you are upgrading from ANZ 5.X to ANZ 6.X

    which ANZ 6.0.0 converted the angular app into native angular with jquery dependency removed.

    See https://github.com/aspnetzero/aspnet-zero-core/releases/tag/v6.0.0

    as for angular 7, it was upgrade in ANZ 6.2.0

    https://github.com/aspnetzero/aspnet-zero-core/releases/tag/v6.2.0