Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

framework and variant explanation + corrected wrong infos #8058

Open
wants to merge 3 commits into
base: main
Choose a base branch
from
Open
Changes from 1 commit
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
8 changes: 3 additions & 5 deletions src/pages/[platform]/start/quickstart/index.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ export function getStaticProps(context) {

## Create project

Create a new Vanilla JavaScript app with vite using the following commands, create the directory (`amplify-js-app`) and files for the app.
Create a new Vanilla JavaScript app with vite using the following commands. It will create the directory (`amplify-js-app`) and files for the app. Make sure to select the "Vanilla" framework with the "TypeScript" variant to follow along this quickstart guide.

```bash
npm create vite@latest
Expand Down Expand Up @@ -92,11 +92,11 @@ Add the following to the `index.html` file:
</html>
```

Add the following to `style.css` file:
Add the following to `src/style.css` file:

{/* cSpell:disable */}

```css title="style.css"
```css title="src/style.css"
body {
margin: 0;
background: linear-gradient(180deg, rgb(117, 81, 194), rgb(255, 255, 255));
Expand Down Expand Up @@ -165,8 +165,6 @@ a {
```
{/* cSpell:enable */}

In `main.js` remove the boilerplate code and leave it empty. Then refresh the browser to see the changes.

## Create Backend

The easiest way to get started with AWS Amplify is through npm with `create-amplify` command. You can run it from your base project directory.
Expand Down