Skip to content

Commit 2497c23

Browse files
committed
revamp amplify
1 parent db91ca6 commit 2497c23

File tree

1 file changed

+13
-15
lines changed

1 file changed

+13
-15
lines changed

src/content/docs/aws/services/amplify.md

Lines changed: 13 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
---
22
title: "Amplify"
3-
linkTitle: "Amplify"
43
description: Get started with Amplify on LocalStack
54
tags: ["Ultimate"]
65
persistence: supported
@@ -12,12 +11,12 @@ Amplify is a JavaScript-based development framework with libraries, UI component
1211
With Amplify, developers can build and host static websites, single-page applications, and full-stack serverless web applications using an abstraction layer over popular AWS services like DynamoDB, Cognito, AppSync, Lambda, S3, and more.
1312

1413
LocalStack allows you to use the Amplify APIs to build and test their Amplify applications locally.
15-
The supported APIs are available on our [API coverage page]({{< ref "coverage_amplify" >}}), which provides information on the extent of Amplify's integration with LocalStack.
14+
The supported APIs are available on our [API coverage page](), which provides information on the extent of Amplify's integration with LocalStack.
1615

17-
{{< callout "note" >}}
16+
:::note
1817
The `amplifylocal` CLI and the Amplify JS library have been deprecated and are no longer supported.
1918
We recommend using the Amplify CLI with the Amplify LocalStack Plugin instead.
20-
{{< /callout >}}
19+
:::
2120

2221
## Amplify LocalStack Plugin
2322

@@ -28,10 +27,10 @@ It achieves this by redirecting any requests to AWS to a LocalStack container ru
2827

2928
To install the Amplify LocalStack Plugin, install the [amplify-localstack](https://www.npmjs.com/package/amplify-localstack) package from the npm registry and add the plugin to your Amplify setup:
3029

31-
{{< command >}}
32-
$ npm install -g amplify-localstack
33-
$ amplify plugin add amplify-localstack
34-
{{< /command >}}
30+
```bash
31+
npm install -g amplify-localstack
32+
amplify plugin add amplify-localstack
33+
```
3534

3635
### Configuration
3736

@@ -53,19 +52,18 @@ The console will prompt you to select whether to deploy to LocalStack or AWS.
5352
You can also add the parameter `--use-localstack true` to your commands to avoid being prompted and automatically use LocalStack.
5453
Here is an example:
5554

56-
{{< command >}}
57-
$ amplify init --use-localstack true
58-
$ amplify add api
59-
$ amplify push --use-localstack true
60-
{{< /command >}}
55+
```bash
56+
amplify init --use-localstack true
57+
amplify add api
58+
amplify push --use-localstack true
59+
```
6160

6261
## Resource Browser
6362

6463
The LocalStack Web Application provides a Resource Browser for managing Amplify applications.
6564
You can access the Resource Browser by opening the LocalStack Web Application in your browser, navigating to the **Resource Browser** section, and then clicking on **Amplify** under the **Front-end Web & Mobile** section.
6665

67-
<img src="amplify-resource-browser.png" alt="Amplify Resource Browser" title="Amplify Resource Browser" width="900" />
68-
<br><br>
66+
![Amplify Resource Browser](/images/aws/amplify-resource-browser.png)
6967

7068
The Resource Browser allows you to perform the following actions:
7169

0 commit comments

Comments
 (0)