> For the complete documentation index, see [llms.txt](https://enappd.gitbook.io/ionic-4-event-and-ticket-booking-template/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://enappd.gitbook.io/ionic-4-event-and-ticket-booking-template/how-to-use-this-template/removing-a-plugin.md).

# Removing a Plugin

Since the complete App Template is a huge project, you might not need all the plugins for all your requirements. Unnecessary plugins can cause issues with build, or at least cause the build to become heavy.‌

In most cases, you would want to remove a plugin from the project. Always remove a plugin using cordova CLI

```
$ ionic cordova plugin rm plugin-name
```

Sometimes user remove plugins by deleting the plugin folder from `plugins` folder, but the plugin is defined in `config.xml` as well as `package.json` . Removing the plugin using the CLI removes all trace of it.‌

### Modifying dependencies of a plugin‌ <a href="#modifying-dependencies-of-a-plugin" id="modifying-dependencies-of-a-plugin"></a>

If you are modifying dependencies of a plugin, it is preferable to do it in `config.xml` and/or `package.json`‌

Modifying plugin in `plugins` folder will not always work because on a new project setup, the plugin will again pick the dependencies from `config.xml` and/or `package.json`
