-
Beta Was this translation helpful? Give feedback.
Answered by
agordn52
Jul 11, 2023
Replies: 1 comment 2 replies
-
Hi @degalih, Try doing the following:
router.route(HomePage.path, (context) => HomePage(), initialRoute: true);
router.route(RecipePage.path, (context) => RecipePage(), authPage: true);
Does that fix your issue? |
Beta Was this translation helpful? Give feedback.
2 replies
Answer selected by
degalih
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi @degalih,
Try doing the following:
HomePage.path
variable to "/home-page"routes/router.dart
file and ensure that one of the routes is set to the initialRoute e.g.app/providers/route_provider.dart
file and ensure thatnylo.setInitialRoute(NyRouter.getInitialRoute());
is called in theafterBoot
method.Does that fix your issue?
Anthony