我正在尝试在我的Angular9项目中使用AngularSplitModule。
我将其加载为:
imports[
AngularSplitModule.forRoot()]在html文件中,我尝试使用:
<split>
<split-area>
<Component1>
</split-area>
<split-area>
<Component2>
</split-area>
</split>然而,我得到了这个错误:
error NG8001: 'split' is not a known element拆分区域也是如此...
对如何解决这个问题有什么想法吗?
发布于 2020-05-27 21:24:18
1)可以在appModule中查看AngularSplitModule的导入路径吗?
2)可以运行一次npm install。
3)重新启动代码编辑器。
https://stackoverflow.com/questions/62042379
复制相似问题