如何使用cordova cli安装crosswalk lite插件

时间:2015-10-07 22:29:46

标签: cordova cordova-plugins crosswalk

我想知道如何使用" cordova插件添加cordova-plugin-crosswalk-webview"而是安装lite版本。感谢。

1 个答案:

答案 0 :(得分:2)

如果您使用Ionic Framework,则变得非常容易。 因此,使用Ionic,您可以在Ionic CLI命令ionic browser list列出的所有可用浏览器中进行选择。 输出示例:

Android - Browsers Listing:

Available - Crosswalk - ionic browser add crosswalk
         Version 8.37.189.14 Published
         Version 9.38.208.10 Published
         Version 10.39.235.15 Published
         Version 11.40.277.7 Published
         Version 12.41.296.5 Published
(beta)   Version 13.42.319.6 Published
(canary) Version 14.42.334.0 Published

Available - Crosswalk-lite - ionic browser add crosswalk-lite
(canary) Version 10.39.234.1 Published
(canary) Version 10.39.236.1 Published

然后,例如,使用以下命令安装alternate browser

ionic browser add crosswalk-lite@10.39.236.1