Ionic 5 Food Ordering Template
  • Introduction
  • Ionic 5 Food Ordering App and PWA Template
  • Why to use this Template
  • Initial Setup
  • Running the app
  • Template features
    • Screens
      • Login, Signup, Forgot Password
      • Food Ordering Flow
      • Offers Pages
      • Address Pages
      • User Profile and Settings
      • Restaurant and Product Lists
      • Cart Page
      • Search Page
      • Filters
      • Chat
      • Order History
    • Features
      • Geolocation
      • Chat Support Page
      • Google Place Prediction
      • Social Sharing
      • Device Compatibility
  • how to use this template
    • Two ways to use
    • Modifying Code
    • Removing a Page
    • Removing a plugin
    • Integrating Back-end
    • Add More Features
  • how to build app and pwa
    • Building App on Device
    • Deploying app as PWA
  • Extra
    • Troubleshooting
    • FAQs
Powered by GitBook
On this page

Was this helpful?

  1. how to use this template

Removing a Page

PreviousModifying CodeNextRemoving a plugin

Last updated 5 years ago

Was this helpful?

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