[ ionic vs cordova ] add plugin plugin-x

I was told that ionic add plugin as opposed to cordova add plugin is a better practice to adapt.
but even ionic web site references to the cordova add plugin.


Am I missing something here?

for many commands, ‘ionic’ is an alias of ‘cordova’. So its the same thing in this case.

Thanks Boltex.
I got a similar response by the ionic instructor at udemy.

I thought I should share it:

There’s no real difference at the moment, the ionic tool ends up calling cordova anyway when adding plugins.

But I prefer using ionic so I have a single tool to manage my entire project, and it’s also possible that they may add some ionic-specific functionality in the future.