问题
More than one module matches. Use skip-import option to skip importing the component into the closest module.
PS F:\dfwork\s\tata> ng g c components/swq
More than one module matches. Use skip-import option to skip importing the component into the closest module.
根据命令提示使用skip-import参数跳过将组件导入到最近的模块
PS F:\dfwork\s\tata> ng g c pages/swq --skip-import
// pages/swq 是你想把组件放到哪个文件夹的路径
网友评论