From 752aaa9e13c325ff88c5b08349d02f05c6fb9b9f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E4=B8=BB=E4=BA=BA=E5=85=AC=EF=BC=88=E5=90=8D=E5=89=8D?= =?UTF-8?q?=E5=85=A5=E5=8A=9B=E5=BF=85=E9=A0=88=EF=BC=89?= Date: Fri, 22 May 2026 14:52:00 +0900 Subject: [PATCH] Update file references from main.js to src/main.ts --- src/pages/[platform]/start/quickstart/index.mdx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/pages/[platform]/start/quickstart/index.mdx b/src/pages/[platform]/start/quickstart/index.mdx index 385871d25a7..8a62e2357a5 100644 --- a/src/pages/[platform]/start/quickstart/index.mdx +++ b/src/pages/[platform]/start/quickstart/index.mdx @@ -165,7 +165,7 @@ a { ``` {/* cSpell:enable */} -In `main.js` remove the boilerplate code and leave it empty. Then refresh the browser to see the changes. +In `src/main.ts` remove the boilerplate code and leave it empty. Then refresh the browser to see the changes. ## Create Backend @@ -215,7 +215,7 @@ Once the sandbox environment is deployed, it will create a GraphQL API, database ## Connect frontend to backend -The initial scaffolding already has a pre-configured data backend defined in the `amplify/data/resource.ts` file. The default example will create a Todo model with `content` field. Update your main.js file to create new to-do items. +The initial scaffolding already has a pre-configured data backend defined in the `amplify/data/resource.ts` file. The default example will create a Todo model with `content` field. Update your `src/main.ts` file to create new to-do items. ```typescript title="src/main.ts" import { generateClient } from "aws-amplify/data";