移动端自定义Cordova插件

huangc 54835541cc Update 'README.md' 4 years ago
src c51c879585 init 6 years ago
www c51c879585 init 6 years ago
README.md 54835541cc Update 'README.md' 4 years ago
package.json c51c879585 init 6 years ago
plugin.xml c51c879585 init 6 years ago

README.md

添加自定义插件

功能

用于调用自身开发的插件或是重写的插件

plugman

npm install -g plugman

create customize plugin

plugman create --name plugin --plugin_id com.plugin.plugin --plugin_version 1.0.0

add plugform file

plugman platform add --platform_name android/ios

add package.json

npm init

using customize plugin

ionic cordova plugin add path --you customize plugin path