Monday, March 5, 2018

Install Or Reinstall All Cordova Plugins In Package.json With Ionic

When installing the dependencies of an existing app your need to install all of the cordova plugins listed in package.json. Or you may just want to ensure they are all installed properly.
Check out the following ionic commands:
# Only install all plugins
ionic state restore --plugins
# or
cordova state restore --plugins

# Only remove all installed plugins
ionic state clear -- plugins

# Remove all then Install all plugins in package.json
ionic state reset -- plugins

No comments:

Post a Comment