Quantcast
Channel: Ionic Forum - Latest topics
Viewing all articles
Browse latest Browse all 70435

Routing from Default Route to Tabs Page

$
0
0

@Bosies wrote:

I recently created a frontend project with Ionic 4 and Angular 7 to learn the changes from NavController to Angular routing. The initial project from calling ionic start was a tabs project, but I created a blank page through “ionic generate” called Login. In the initial app-routing.module.ts file, the routes array had a blank path leading to the tabs page. I changed that blank path to route to the login page instead, and created a separate path called ‘tabs’ to route to the original tabs section. However, after launching the app to the login page, I tried to change the URL to /tabs but the app loaded nothing. I’m wondering what could be causing this lack of page rendering as a result of my changing the routes.

Thanks in advance for any help.

Posts: 1

Participants: 1

Read full topic


Viewing all articles
Browse latest Browse all 70435

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>