Vin*_*Ram 5 typescript angular angular16
ngx-virtual-scroll 在 angular16 更新后无法工作,在终端中显示一个错误。
错误是
'VirtualScrollerModule' does not appear to be an NgModule class.
This likely means that the library (ngx-virtual-scroller) which declares VirtualScrollerModule is not compatible with Angular Ivy. Check if a newer
version of the library is available, and update if so. Also consider checking with the library's authors to see if the library is expected to be compatible with Ivy.
Run Code Online (Sandbox Code Playgroud)
我该如何解决这个问题?
这个包已经很久没有更新了。看起来已经不再维护了。您可以分叉该项目并自行更新/维护它,或者使用一些替代方案,例如 ngx-infinite-scroll (用于无限滚动)或 Angular CDK 滚动https://material.angular.io/cdk/scrolling/overview
| 归档时间: |
|
| 查看次数: |
1752 次 |
| 最近记录: |