Skip to content

Commit 99f33e9

Browse files
committed
docs: dev setup explain how to access the app using the headset
1 parent eabc30c commit 99f33e9

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

docs/getting-started/development-setup.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,8 @@ export default defineConfig({
2323
})
2424
```
2525

26+
Now with vite and ssl setup, we can host out application by starting executing `vite --host`. The `--host` argument makes sure that the server is exposed to your local network, so you can access the app from your headset or smartphone. When starting the server, vite also shows you your local IP. Now type in this IP including the port number into your smartphone's or headset's browser (e.g. `https://192.168.0.43:5173`).
27+
2628
## 2. emulator: [iwer/devui](https://github.com/meta-quest/immersive-web-emulation-runtime/blob/main/devui/README.md)
2729

2830
Developing WebXR experiences often requires testing WebXR-specific features, which either require an actual device or an emulator. An emulator allows testing without a specific device and without continuously switching a headset on and off.

0 commit comments

Comments
 (0)