After transitioning my project from Ionic 2 to Ionic 3, I've encountered an issue with ionic serve
and the rebuilding process.
Initially, when I build the project, everything functions as expected. However, I've noticed that the URL in the browser's address bar suddenly changes to something like
localhost:8100/#/home.page/tabs/t0/tab-0/feed.page
. This behavior was not present before; previously, it only displayed localhost:8100
.
The structure of my app is such that there is a menu that alters the home.page
section, along with a tab bar within home.page
leading to the first tab, feed.page
.
Concern 1: Prior to the migration, there were no changes in the URL while navigating within the application.
Concern 2: Following modifications in the code, Ionic CLI automatically rebuilds it. Despite expecting the same page to be displayed, only the feed.page
is visible, with the parent menu of home.page
mysteriously absent. Everything else vanishes outside the feed page.
What could be triggering this behavior, and how can I resolve it? It likely involves tweaking a configuration setting, but pinpointing the exact location has proven challenging.