as

Settings
Sign out
Notifications
Alexa
亚马逊应用商店
AWS
文档
Support
Contact Us
My Cases
新手入门
设计和开发
应用发布
参考
支持
跳转到主要内容
Now that we’ve created the Video Detail Screen, lets import the Vega supported React Navigation package and its dependencies. As the packages are not yet public, we will have to manually add them to our package.json and then install them using npm. You can find more details on how to use the React Navigation package here.
  • Open package.json from the root folder of your project.
  • Go to the dependencies section and add add a comma at the end of the last entry.
  • Start a new line and paste the following list of packages:
Now let’s install the packages and rebuild the app.
  • Go to a separate terminal window, go to your project folder, and run npm install to install the new packages.
  • After the packages install, re-run the steps to build and run your app.
The React Navigation package is now available to use in the app.
最后修改于 2026年10月30日