This repo serves as the starting point for NativeScript + Vue.js projects, using nativescript-vue.
-
Install NativeScript tools (see http://docs.nativescript.org/start/quick-setup)
-
Create app from this template
tns create hello-ns-vue --template nativescript-vue-template
cd hello-ns-vue
While the
nativescript-vue
project is not up-to-date on npm, you may have to runnpm link nativescript-vue
in the project folder (like described here).
- Run in Android or iOS
tns run android
tns run ios
This page contains a number of app samples that you can use as the starting point of your app. To experiment, try copying and pasting the code from app-with-list-view.js
, app-with-router.js
, app-with-tab-view.js
, or app-with-vmodel.js
into your app’s app.js
file.