Skip to content

Commit

Permalink
docs: polish content
Browse files Browse the repository at this point in the history
  • Loading branch information
gao-sun committed Feb 24, 2024
1 parent 15579b1 commit d47257b
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 3 additions & 1 deletion docs/sdk/spa/angular/_integration.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,9 @@ export class AppComponent implements OnInit {
Then, in the template, add buttons to sign in and sign out:

```html
<button (click)="signIn()">Sign in</button> <button (click)="signOut()">Sign out</button>
<button (click)="signIn()">Sign in</button>
<br />
<button (click)="signOut()">Sign out</button>
```

### Subscribe to authentication state and display user information
Expand Down
2 changes: 1 addition & 1 deletion docs/sdk/web/nuxt/_integration.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import SignInFlowSummary from '../../fragments/_web-sign-in-flow-summary.mdx';

### Register Logto module

In your Nuxt config file, add the Logto module:
In your Nuxt config file (`next.config.ts`), add the Logto module:

```ts
export default defineNuxtConfig({
Expand Down

0 comments on commit d47257b

Please sign in to comment.