【文件属性】:
文件名称:cordova-api-example:使用 CordovaPlatformProject 的实验性 Cordova API 的示例应用程序
文件大小:34KB
文件格式:ZIP
更新时间:2021-06-05 00:01:29
JavaScript
Cordova API 示例
使用和来自的实验性 Cordova API 的示例应用程序。
笔记!
CordovaPlatformProject 是实验性的,将会改变。
它尚未公开cordova 的全部功能。
较旧的更稳定。
用法
git clone
cd cordova-api-example
npm install
npm install gulp -g # if you don't have it yet
gulp create
gulp build/run/emulate
基本迭代:更改www下的文件,运行gulp - 默认任务将构建并运行应用程序。
添加或删除插件:
gulp clean
npm (un)install --save cordova-plugin-file
gulp create
【文件预览】:
cordova-api-example-master
----.gitignore(551B)
----package.json(584B)
----config.xml(506B)
----gulpfile.js(5KB)
----LICENSE(11KB)
----README.md(814B)
----www()
--------js()
--------css()
--------index.html(2KB)
--------img()