-
Notifications
You must be signed in to change notification settings - Fork 305
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore(angular): update build tests and docs for angular 17 (#4690)
* chore: update build tests and docs for angular 17 * adding css * adding in-app as dependancy for react * adding in-app as react dependency * removing in-app as dependency * updating build test * typo fix * typo fix --------- Co-authored-by: Scott Rees <[email protected]>
- Loading branch information
Showing
9 changed files
with
53 additions
and
116 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
108 changes: 0 additions & 108 deletions
108
build-system-tests/templates/components/angular/angular.json
This file was deleted.
Oops, something went wrong.
File renamed without changes.
24 changes: 24 additions & 0 deletions
24
build-system-tests/templates/components/angular/app-angular-latest.component.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
import { Component } from '@angular/core'; | ||
import { AmplifyAuthenticatorModule } from '@aws-amplify/ui-angular'; | ||
|
||
@Component({ | ||
standalone: true, | ||
imports: [AmplifyAuthenticatorModule], | ||
selector: 'app-root', | ||
template: ` | ||
<amplify-authenticator> | ||
<ng-template | ||
amplifySlot="authenticated" | ||
let-user="user" | ||
let-signOut="signOut" | ||
> | ||
<h1>Welcome {{ user.username }}!</h1> | ||
<button (click)="signOut()">Sign Out</button> | ||
</ng-template> | ||
</amplify-authenticator> | ||
`, | ||
styles: [], | ||
}) | ||
export class AppComponent { | ||
title = 'ng-app-ts'; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters