Skip to content

📱 Nuxt JS (Vue JS) + Vuetify 2 SPA hybrid demo app built using Cordova

License

Notifications You must be signed in to change notification settings

MateiNenciu/nuxt-cordova-app

 
 

Repository files navigation

📱 Nuxt JS + Vuetify 2 SPA hybrid app template

Nuxt JS (Vue JS) + Vuetify 2 SPA hybrid demo app built using Apache Cordova, formally known as PhoneGap.

Use this template to get you up and running with a Nuxt JS + Vuetify and Cordova project.

🚀 Project Setup

Requirements

  • Cordova = 8.0.0
  • Xcode >= 10.3
  • Android Studio >= 3.4
  • Node JS >= 10.13.0
  • NPM >= 6.10.0

Installation

# install dependencies
$ npm install

# navigate to the cordova/ directory
$ cd cordova && cordova prepare

# Install required packages to run emulator
$ cd cordova/platforms/ios/cordova && npm install ios-sim ios-deploy

Note: if cordova prepare fails, check that the cordova/www directory exists, if it doesn't create it.

Run all installation commands from the root project.

🔧 Local Development

# install dependencies
$ npm install

# serve with hot reload at localhost:3000
$ npm run dev

⚠️ certain native plugins and functionality are only available on an emulator/physical device, ignore any console warnings/errors associated to these.

📱 Build Apps

# build, compile and launch on simulator
$ npm run cordova-ios

# build, compile and launch on simulator
$ npm run cordova-android

About

📱 Nuxt JS (Vue JS) + Vuetify 2 SPA hybrid demo app built using Cordova

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Vue 56.8%
  • JavaScript 42.3%
  • CSS 0.9%