Can I install a previous version of a plugin using the cordova plugin add command?

前端 未结 2 532
臣服心动
臣服心动 2021-02-03 18:53

I am trying to rebuild a cordova project from scratch and creating documentation along the way. I would like to be able to install consistent versions of plugins to avoid having

2条回答
  •  甜味超标
    2021-02-03 19:03

    from official cordova website

    http://cordova.apache.org/news/2013/10/21/cordova-registry.html

    From anywhere within an app’s directory, plugins can be added to a project with

    cordova plugin add [PLUGIN_ID]
    

    where PLUGIN_ID is the id (typically reverse-domain style) shown on the plugin registry website. You can also download a specific version of a plugin:

    cordova plugin add [PLUGIN_ID]@[VERSION]
    

提交回复
热议问题