Infrastructure
Yes, the image needs to be updated :)
NativeScript-Vue with Vue3 support now in RC!
To get started, you can use the StackBlitz Template
...or locally:
ns create myAwesomeApp --template @nativescript-vue/template-blank@rc
cd myAwesomeApp
ns run ios|android
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"
.../>
If you encounter any issues, please open a new issue with as much detail as possible.
The V2 version has been moved to the v2 branch