Removing a Page / Component

Steps to remove undesired page from the App

Removing a page from the app is pretty straight-forward. You just remove the target folder from the code, and remove the routing associated with it. Also, if this folder or any of its child pages are imported in some other page, you need to remove those as well.

In our cases, Vue does not have dependency on any of the Routing or any other component . Let's see an example of removing a page - Netflix Layout

  • Go to src/data/SideMenu/menuData.ts file and comment or remove the 140th line.

  • In above step, It will remove the Netflix option from the side menu. In Vue there is no Navigators, so we do not have to remove any navigation part.

Last updated