teckel12 / nativescript-vue

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

NativeScript + Vue

Installation

  • Download/install Node.js - LTS
  • Download/install Java SDK - v8
  • Download/install as administrator Android Studio
  • The download & install will take a long time as it downloads the entire Internet
  • Run Adroid Studio, from the Configure menu select SDK Manager
  • Select Android v7.1.1 to install
  • Set environment variable JAVA_HOME to C:\Program Files\Java\jdk1.8.0_161
  • Set environment variable ANDROID_HOME to C:\Users\<your name>\AppData\Local\Android\Sdk
  • Open a new command prompt and run npm install -g nativescript
  • If you have any hard drive space left, download/install NativeScript Sidekick
    • App Name: NativeScript-Vue
    • Project Folder: <path>
    • App ID: Auto
    • Project Type: NativeScript + JavaScript
    • Select: Nagivation Drawer
    • Click: Create App
  • Add NativeScript extension to Visual Studio Code

NativeScript Webpack plugin

Bundle your project by passing --bundle flag to NativeScript CLI commands:

  • tns build android --bundle
  • tns build ios --bundle
  • tns run android --bundle
  • tns run ios --bundle

About


Languages

Language:JavaScript 99.1%Language:CSS 0.9%