/vue-nativescript-typescript

Nativescript template for vue with typescript

Primary LanguageJavaScript

NativeScript Vue Typescript Template

This template uses Vue JS and typescript with vue-property-decorator, vue-class-components. Clone this repository to use it.

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