0

我在 Shell(父)应用程序和 Micro(子)应用程序中都导入了所有适当的模块,但出现错误;特别是在我的情况下,“mat-chip-list”只有在我启动 Shell(parent) 应用程序时才不是已知元素。

我必须有一个配置:webpack.config.js 或 nx.json 或 project.json 或 angular.json?

模块:图 1:应用程序文件夹,图 2:Shell 应用程序模块导入部分,图 3:Shell 应用程序模块导出部分,图 4: sharedModule导入部分,图 5:SharedModule 导出部分,图 6:材料模块导入部分,图 7 :导出模块导出部分

4

0 回答 0