angular - 找不到管道“ngrxPush”
问题描述
我是 NgRx 的新手,过去一周我一直在学习。
所以,我试图检查Push Pipe和let 指令。
根据 NgRx 文档,这个人的安装将使用以下命令:
yarn add github:ngrx/component-builds.git
我的代码如下:
<ons-list-item expandable *ngFor="let user of users$ | ngrxPush">
<!-- code here -->
</ons-list-item>
在那之后,我试图找到我需要导入的模块才能拥有这个管道。要拥有异步管道,我只需要导入CommonModule。
任何想法我应该导入什么来让它工作?看起来这部分的文档不太清楚。
解决方案
推荐阅读
- python - 如何在不重新生成图形的情况下离线使用情节?
- javascript - 如何在 extJS 数据存储中显示图像
- .net - 在使用 AddDbContextPool 时,我应该在 DbContext 时使用“使用”块吗?
- github - Github rest api 从工作流构建中获取测试用例结果
- loops - Ansible,循环通过gather_fatcs
- algorithm - 对于活动选择问题,动态规划相对于贪婪方法的优势
- c# - 通过 Process.Start 执行命令失败,但是当我直接在 shell 中执行它时可以工作
- spring-boot - Kube 集群中的 Redis 错误
- java - 在生产中使用配置文件的最佳方式
- vue.js - 无法从表中删除用户