Cordova Template Framework7 Vue Webpack screenshot

Cordova Template Framework7 Vue Webpack

Author Avatar Theme by Caiobiodere
Updated: 8 Jan 2020
616 Stars

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

Categories

Product Analysis: Template logoFramework7 - Vue - Webpack Cordova Template

Overview

The logoFramework7 - Vue - Webpack Cordova Template is a template that allows users to start a new Cordova project quickly. It utilizes Framework7 5, Vue 2, Vuex, Webpack 4, Cordova, FontAwesome 5, and Babel Loader 7. The minimum requirements for this template are Cordova 6.0.0 and Node.js 6.5.0.

Features

  • Smart Hooks: Hooks automatically fix certain issues, such as checking and installing Node.js dependencies and renaming the name variable in package.json.
  • www Folder Management: The template automatically manages the www folder, eliminating the need for manual management.
  • Static Asset Sync: Static assets are automatically synchronized during live reload mode.
  • CordovaHtmlOutputPlugin: CordovaHtmlOutputPlugin adds cordova.js to HTML files automatically, saving developers from the need to add it manually.
  • Manifest.json Handling: Smart hooks automatically copy the manifest.json file to the www folder if needed by Cordova plugins.
  • Live Reload Functionality: Several features related to live reload are provided, such as managing the necessary <allow-navigation href="*"/> in config.xml and handling live-reload dependencies.
  • Device Router: The template offers a smart router in live-reload mode which searches for the best available IP for server connection. Users can also manually enter the IP:port.
  • CordovaDeviceRouter.js: This file injects the right cordova.js file to the page, enabling connection to the webpack-dev-server from multiple devices simultaneously.

Installation

  • Phonegap build tools are not currently supported. It is recommended to use Cordova with this template.
  • Cordova or Phonegap is required for installation. More information about Cordova installation or Phonegap installation can be found in the provided links.

Summary

The logoFramework7 - Vue - Webpack Cordova Template is a convenient starting point for Cordova projects. It offers a variety of features such as smart hooks, automatic management of the www folder, live reload functionality, and more. The installation process is explained in the guide, with recommendations to use Cordova over Phonegap. Overall, this template provides a robust foundation for developers looking to build Cordova projects with Framework7, Vue, and Webpack.