Removing a Page
Last updated
Last updated
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.