O'Reilly logo

NativeScript for Angular Mobile Development by Nathanael J. Anderson, Nathan Walker

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

The tns plugin command

This one is actually quite important, but it is only used when you want to deal with plugins. The most common version of this command is just tns plugin add <name>. So, for example, if you want to install a plugin called NativeScript-Dom, you will perform tns plugin add nativescript-dom, and it will automatically install the code for this plugin to be used in your application.  To remove this plugin, you would type tns plugin remove nativescript-dom. We also have tns plugin update nativescript-dom to remove the plugin and download and install the newest version of the plugin. Finally, running tns plugin alone will give you a list of plugins and their versions that you have installed:

However, to be honest, if I need ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required