zoukankan      html  css  js  c++  java
  • cordova添加plugin的多种方式

    #在线安装
    cordova create chankoujie com.example.chankoujie ChanKouJie
    cordova plugin add cordova-plugin-device 
    cordova plugin add cordova-plugin-camera 
    cordova plugin add cordova-plugin-file-transfer 
    cordova plugin add cordova-plugin-splashscreen 
    cordova plugin add cordova-plugin-dialogs 
    cordova plugin add cordova-plugin-network-information 
    cordova plugin add cordova-plugin-themeablebrowser
    
    cordova plugin add https://github.com/Telerik-Verified-Plugins/SocialSharing
    cordova plugin add https://github.com/moderna/cordova-plugin-cache.git
    cordova plugin add https://github.com/DoubleSpout/phonegap_baidu_sdk_location.git
    
    
    #离线安装
    #安装web-cache 插件
    mkdir cordova_plugins
    cd cordova_plugins
    git clone https://github.com/moderna/cordova-plugin-cache.git
    cd ..chankoujie
    cordova plugin add D:githubcordova_appscordova_pluginscordova-plugin-cache
    
    #安装百度定插件
    cd cordova_plugins
    git clone https://github.com/DoubleSpout/phonegap_baidu_sdk_location.git
    cd ..chankoujie
    cordova plugin add D:githubcordova_appscordova_pluginsphonegap_baidu_sdk_location
  • 相关阅读:
    HTML 中的几种空格字符
    css第二天
    css第一天
    html第二天
    html 第一天
    javaScript
    数据类型扩展
    Hello world可能遇到的问题
    卸载安装jdk的步骤与问题
    windows常用快捷键和Dos命令
  • 原文地址:https://www.cnblogs.com/colder/p/11098239.html
Copyright © 2011-2022 走看看