Angular项目CLI创建新组件报错
More than one module matches. Use skip-import option to skip importing the component into the closest module.
解决办法:使用命令ng g component --module 路径名
例:ng g component --module app
下一步
它会让你给要创建的新组件起个名字,输入完之后回车就好了
2020-08-12
最新推荐文章于 2025-04-25 08:54:14 发布