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 'addmedia', 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.

  • Press Ctrl+S to save the changes made.

  • Now go to app.component.ts file.

‌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.‌

Last updated