8000 docs: add note about VueDevtools · smather/nativescript-vue@183143d · GitHub
[go: up one dir, main page]

Skip to content

Commit 183143d

Browse files
committed
docs: add note about VueDevtools
1 parent 6544fd0 commit 183143d

File tree

1 file changed

+18
-0
lines changed

1 file changed

+18
-0
lines changed

README.md

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,24 @@ cd myAwesomeApp
3030
ns run ios|android
3131
```
3232

33+
## Vue Devtools
34+
35+
To use VueDevtools, run:
36+ 8000
37+
```bash
38+
ns run ios|android --env.vueDevtools
39+
```
40+
41+
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.).
42+
43+
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:
44+
45+
```diff
46+
<application ...
47+
+ android:usesCleartextTraffic="true"
48+
.../>
49+
```
50+
3351
## Issues
3452

3553
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.

0 commit comments

Comments
 (0)
0