ionic中如果想要使用prod(生产环境)打包时如果使用到模态框则需要在模态框的module.ts中去掉 declarations: [ShowcommentPage]
否则会报:
还有一点需要注意:
在打包生产环境项目中不能有无用的代码
ionic生产环境打包关于模态框的问题
最新推荐文章于 2020-07-31 10:25:36 发布
ionic中如果想要使用prod(生产环境)打包时如果使用到模态框则需要在模态框的module.ts中去掉 declarations: [ShowcommentPage]
否则会报:
还有一点需要注意:
在打包生产环境项目中不能有无用的代码