nativescript-vue-asqwrd

NativeScript and Vue integration


Keywords
vuejs, nativescript, integration, android, ios, native, nativescript-plugin, nativescript-vue, vue
License
MIT
Install
npm install nativescript-vue-asqwrd@2.0.0-alpha.0

Documentation

NativeScript-Vue3 Beta

npm license

NativeScript-Vue with Vue3 support now in beta!

Quick start

To get started, you can use the StackBlitz Template

...or locally:

ns create myAwesomeApp --template @nativescript-vue/template-blank@beta

cd myAwesomeApp
ns run ios|android

Vue Devtools

To use VueDevtools, run:

ns run ios|android --env.vueDevtools

This will launch the standalone VueDevtools, and connect to it once the app launches. Right now, devtools are only supported on iOS Simulators and Android Emulators, but physical device support should come soon (requires configuring a host/port that the device can connect to.).

On android, you must enable cleartext http traffic, otherwise any connections are silently dropped by the system. In the App_Resources/Android/src/main/AndroidManifext.xml add the following to your existing <application> tag:

<application ...
+  android:usesCleartextTraffic="true"
.../>

Issues

If you encounter any issues, please open a new issue with as much detail as possible. This is beta software, so there might be bugs.

Looking for V2?

The V2 version has been moved to the v2 branch