diff --git a/en/application-dev/quick-start/start-with-ets-low-code.md b/en/application-dev/quick-start/start-with-ets-low-code.md index a2e41c66e918ccc33623ab6b746d1129fdedd7d3..0792cfa38820a7f6dfe94e6df5358e2759219d53 100644 --- a/en/application-dev/quick-start/start-with-ets-low-code.md +++ b/en/application-dev/quick-start/start-with-ets-low-code.md @@ -94,7 +94,8 @@ Add **Column**, **Text**, and **Button** components to the first page. A column 4. Add a **Text** component. - In the **second.ets** file, set the message text content to **Hi there**. The sample code is as follows: - ``` + ```ts + // second.ets @Entry @Component struct Second { @@ -130,7 +131,8 @@ You can implement page redirection through the page router, which finds the targ - In the **index.ets** file: - ``` + ```ts + // index.ets import router from '@ohos.router'; @Entry @@ -163,7 +165,8 @@ You can implement page redirection through the page router, which finds the targ - In the **second.ets** file: - ``` + ```ts + // second.ets import router from '@ohos.router'; @Entry