![](/img/trans.png)
[英]customWebpackConfig not working in ng build --prod in Angular
[英]In Angular 7 ng build --prod is not working
1) 错误 TS2395:合并声明 'CCURLActionComponent' 中的单个声明必须全部导出或全部为本地。 2) 错误 TS2440:导入声明与“CCURLActionComponent”的本地声明冲突。 3) 错误 TS2395:合并声明 'CCURLActionComponent' 中的单个声明必须全部导出或全部为本地。 如何解决上述错误
现在找到解决方案它的工作......改变以下 -
在 aslaURLActionComponent 中
@Injectable() 导出类 aslaURLActionComponent 扩展 CCURLActionComponent 实现 OnInit { }
并将其导入到 module.ts 文件中。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.