Amazon Developer

as

Settings
Sign out
Notifications
Alexa
Amazon Appstore
Ring
AWS
Documentation
Support
Contact Us
My Cases
Get Started
Design and Develop
Publish
Reference
Support
Skip to main content
To set up your Vega Web App, you must import a few required libraries, and then use a specific component to render the content.

To set up your Vega Web App to develop your app

To implement WebView, you must import a few required libraries and then use a specific component to render the content.
  1. Add an app template by following the directions in the Vega SDK topic Create an app from a template.
  2. To install WebView, at the command prompt, run the following command.
  3. In your app folder, open the manifest.toml file, and then add the following services and privileges.
  4. Add the following to your JavaScript XML (JSX) file.
  5. In your src/App.tsx file, add the following code, which includes the hasTVPreferredFocus={true} prop, to render WebView.
The Vega Web App pauses the JavaScript engine, animation, and media playback audio and video when it goes into the background. WebView resumes when it comes to the foreground.
Last modified on September 30, 2025