Removing a Page

Steps to remove undesired page from the App

  • Go to app-routing.module.ts file.

  • Select the route link that you want to remove and just press Delete, eg. here we have choose to remove billing, then press Delete

  • Also remove any links to this page from other pages. You can identify this from the UI flow - which button leads to which page.

  • Note, in some case you might not find the page route in app-routing.moudle.ts . Some routes can be placed in tabs.router.module.ts . In that case, remove it from the correct file

  • Press Ctrl+S to save the changes made.

  • ‌Additionally, you can also remove the deleted page's folder from the project.

In this way we can remove the pages that we do not want in our app.‌