在使用Angular4开发中遇到的问题

F:\samples>ng g c add-sampleapp

Error: More than one module matches. Use skip-import option to skip importing the component into the closest module..net

More than one module matches. Use skip-import option to skip importing the component into the closest module.3d

解决办法:component

ng g c add-sample  --module=appblog

缘由:ip

项目中有多个模块(包含appModule , routingModule等),io

因此须要选中要配置的app模块import

 转载自:https://blog.csdn.net/MengYan_/article/details/79790962module

相关文章
相关标签/搜索