Skip to content

Framework7 - Vue - Webpack Cordova Template with Webpack Dev Server and Hot Module Replacement

License

Notifications You must be signed in to change notification settings

loama/cordova-template-vue-webpack

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

template logo

Vue - Webpack Cordova Template

A template for creating

Inspired and forked from caiobiodere template

This template uses:

Features:

  • Hot Reload in browser
  • Lint on save
  • Lightweight (~)
  • Code minification

Create project

cordova create cordova-template com.example.hello HelloWorld --template git://github.com/loama/cordova-template-vue-webpack.git#master

Install dependencies

npm install

Add the platforms needed

cordova platform add browser ios android

Usage

You 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

App Icons

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.

About

Framework7 - Vue - Webpack Cordova Template with Webpack Dev Server and Hot Module Replacement

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript 78.0%
  • HTML 12.8%
  • Vue 9.2%