ionic-framework - push and setRoot to one page in ionic 3
问题描述
I am getting below error when setting Rootpage
in ionic 3
.
Error: No component factory found for LoginPage. Did you add it to @NgModule.entryComponents?
but when I add this page into aap.module.ts
in declaration and entrypoint
section, this error is gone for setRoot
but not for push
. When I push, it is not working.
I guess that means I can do either setRoot
or push
to a one page in ionic 3
?
解决方案
推荐阅读
- php - 在 php 中使用 mimetype 检查文件扩展名之间的兼容性
- r - Align gridlines with ticks in base R plot
- android - How to dim system bars on one click on the activity and again show system bars on the second click on the screen?
- c# - 实体框架用户定义表类型proc
- mobile - 我应该选择什么框架来制作手机游戏?
- c# - 尽可能少地使用位移、加法和减法乘以 27
- php - PDO - 将占位符映射到合并数组
- javascript - 立即调用函数作为对象中的属性分配。
- django - Django User.set_password 导致密码无效
- javascript - 具有不同域的 Vue.js 多语言网站