README
parcel-cordova-template
Forked from the default Apache Cordova App template: cordova-app-hello-world
Requires Parcel Bundles!
- Does not contain a
www
directory- relies on Parcel to (re-)build it.
- Adds hook to
config.xml
<hook src="hooks/cordova.js" type="before_compile" />
- Hook
hooks/cordova.js
modifieswww/index.hml
- replaces
<i hidden>cordova.js</i>
with<script src="cordova.js"></script>
- replaces
Usage
$ cordova create hello com.example.hello HelloWorld --template parcel-cordova-template