Quick Start

If you don't want the hassle of installing and configuring your system before you can have a taste of NativeScript-Vue, the NativeScript Playground has you covered.

But if you already have your system ready for native development, you can start by using the vue-cli-template:

Supported features

  • .vue single file components
  • Vuex—state management (opt-in)
  • NativeScript themes
  • Application presets

Note: If you choose to install DevTools, you won't be able to use tns preview, as the Preview app doesn't support one of the plugins DevTools uses.

$ ns create <project-name> --vue # add --ts if you'd like to scaffold a project with TypeScript
$ cd <project-name>
$ npm install
$ # or
$ yarn install
$ ns run