Save already installed Cordova plugins to config.xml

后端 未结 1 1553
花落未央
花落未央 2020-12-31 12:42

I have installed all my cordova plugins using the following syntax:

cordova plugin add 

I know (now) that if you add the

相关标签:
1条回答
  • 2020-12-31 12:52

    As reported in this cordova release post from cordova 5 you can add already installed plugins to config.xml using just one command:

    cordova plugin save
    

    This will save all previously installed plugins into your project’s config.xml.

    You can check the latest cordova plugin documentation for more details.

    If you need to do the same with the installed platforms, just run cordova platform save.

    0 讨论(0)
提交回复
热议问题