# PagesRouter **Repository Path**: LYGiteeSpace/PagesRouter ## Basic Information - **Project Name**: PagesRouter - **Description**: 基于Stage模型下的UIAbility开发,实现UIAbility内页面间的跳转。 - **Primary Language**: Unknown - **License**: Apache-2.0 - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 5 - **Created**: 2025-06-17 - **Last Updated**: 2025-06-17 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # UIAbility Page Redirection ### Introduction This codelab introduces how to implement page redirection within a UIAbility based on the stage model. The following figure shows the effect. ![](screenshots/device/pageRouter.en.gif) ### Concepts - Page router: allows an application to access pages through URLs, especially like navigating to a specified page in an app, replacing the current page with another one in an app, and returning to the previous page or a specified page. ### Permissions N/A ### How to Use 1. The app home page has one piece of text and one button. When a user taps the button, the next page is displayed and data is transferred. 2. The second page has two pieces of text and one button. One piece of text displays the data transferred from the home page. Tap the Back button to return to the previous page. ### Constraints 1. The sample is only supported on Huawei phones with standard systems. 2. HarmonyOS: HarmonyOS 5.0.0 Release or later. 3. DevEco Studio: DevEco Studio 5.0.0 Release or later. 4. HarmonyOS SDK: DevEco Studio 5.0.0 Release SDK or later.