Skip to content

Latest commit

 

History

History
34 lines (25 loc) · 954 Bytes

README.md

File metadata and controls

34 lines (25 loc) · 954 Bytes

NativeScript-Vue Application

A native sample application using nativescript vue-cli template and camera plugin using the 0.2.0 branch of the cli plugin needed to import the ui/image module like this if you are following the plugin example

import { Image } from "tns-core-modules/ui/image";

Usage

# Install dependencies
npm install

# Build for production
npm run build
npm run build:<platform>

# Build, watch for changes and debug the application
npm run debug
npm run debug:<platform>

# Build, watch for changes and run the application
npm run watch
npm run watch:<platform>

# Clean the NativeScript application instance (i.e. rm -rf dist)
npm run clean

When invoking the various npm scripts, omitting the platform will attempt to launch tns for both platforms, which will only work in a properly configured OSX environment.

For detailed instructions, see https://github.com/nativescript-vue/vue-cli-template