Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions src/pages/[platform]/start/quickstart/index.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down Expand Up @@ -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";
Expand Down