You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/pages/[platform]/build-a-backend/auth/set-up-auth/index.mdx
+42-13Lines changed: 42 additions & 13 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -100,17 +100,46 @@ Creating and correctly implementing the sign-in flow can be challenging and time
100
100
101
101
Amplify has pre-built UI components for React, Vue, Angular, React Native, Swift, Android, and Flutter. In this guide, we are focusing on those for web applications.
Now open **src/main.ts** and add the following below your last import:
185
215
186
-
```js title="src/main.ts"
216
+
```ts title="src/main.ts"
187
217
import'@aws-amplify/ui-components';
188
218
import {
189
219
applyPolyfills,
@@ -204,7 +234,7 @@ Next, open **src/App.ts** and add the `amplify-authenticator` component.
204
234
205
235
The `amplify-authenticator` component offers a simple way to add authentication flows into your app. This component encapsulates an authentication workflow in the framework of your choice and is backed by your backend Auth resources. The optional `amplify-sign-out` component is available if you would like to render a sign-out button.
0 commit comments