A template for creating
Inspired and forked from caiobiodere template
This template uses:
Features:
- Hot Reload in browser
- Lint on save
- Lightweight (~)
- Code minification
cordova create cordova-template com.example.hello HelloWorld --template git://github.com/loama/cordova-template-vue-webpack.git#master
npm installcordova platform add browser ios androidYou can use every cordova | phonegap commands.
You just have one more command option: -- --livereload. It starts live reload.
Example usage:
cordova run android -- --livereload
cordova run browser -- --livereload
You need imagemagick or graphicsmagick and iconerator in your system, you can install them with
brew install imagemagick
graphicsmagick
npm install -g iconerator
Then you need to put two files in res folder
android.png and ios.png both with recomended 1024x1024 sizes.
When you run cordova prepare, app icons will be autogenerated.
If you want to update the icons, just update the android.png and ios.png files and run cordova prepare.
Those are independent, so you can have a different icon for each platform.
