Build and Run
There are a few different ways to build or run your app depending on your preference and whether you want to test in a web browser or a real or emulated mobile device.
tip
You can press ⌥ + R to run your app (ALT + R on Windows).
Testing for Web
Click Run > Web to build and launch in the default web browser.
note
You can preview your app inside the VS Code editor by clicking the ... next to Web and choose Open App in Editor.
Testing on Device
Testing using an emulator or real mobile device can be done in one of these ways:
- Native IDE - Click
Buildin the VS Code extension then run the app in XCode or Android Studio. - Using VS Code - Click
Run>iOSorAndroid, select the device to launch.