Cordova實作cordova plugin add cordova-plugin-inappbrowser内置浏覽器的應用
Cordov指令步驟
1.建立:
C:\Users\Administrator\Desktop>cordova create MyApp-1 Creating a new cordova project.
2.進入目錄:
C:\Users\Administrator\Desktop>cd C:\Users\Administrator\Desktop\MyApp-1
3安裝插件
cordova plugin add cordova-plugin-inappbrowser
4.查詢依賴:
C:\Users\Administrator\Desktop\MyApp-1>cordova platform Installed platforms:
Available platforms: android ^8.0.0 browser ^6.0.0 electron ^1.0.0 ios ^5.0.0 osx ^5.0.0 windows ^7.0.0
5.加入選擇項:
C:\Users\Administrator\Desktop\MyApp-1>cordova platform add android
Using cordova-fetch for [email protected]^8.0.0 A