ionic2 - ionic 2 how to reorder pages from the app.module.ts file -


when started blank project ionic 2 gave me home page first.then created new pages since under impression can change page order. example, in case later in development, made login page, , want page first before letting user continue. looked further , went app.module.ts , started changing declarations order thinking change order pages loaded. thinking wrong?

how pages declared has nothing how displayed. recommend read official docs on navigation

the first page of app (also known root page) defined on app.component.ts. can set rootpage changing variable or calling

this.nav.setroot(yourpagename); 

Comments

Popular posts from this blog

asynchronous - C# WinSCP .NET assembly: How to upload multiple files asynchronously -

aws api gateway - SerializationException in posting new Records via Dynamodb Proxy Service in API -

asp.net - Problems sending emails from forum -