Skip to content

Commit 5e72d47

Browse files
committed
Edits
1 parent fbaf541 commit 5e72d47

File tree

7 files changed

+3
-9
lines changed

7 files changed

+3
-9
lines changed

tutorial/02-create-app.md

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -67,16 +67,10 @@ In this section you'll create the user interface for the app.
6767
6868
import { AppRoutingModule } from './app-routing.module';
6969
import { AppComponent } from './app.component';
70-
import { NavBarComponent } from './nav-bar/nav-bar.component';
71-
import { HomeComponent } from './home/home.component';
72-
import { AlertsComponent } from './alerts/alerts.component';
7370
7471
@NgModule({
7572
declarations: [
76-
AppComponent,
77-
NavBarComponent,
78-
HomeComponent,
79-
AlertsComponent
73+
AppComponent
8074
],
8175
imports: [
8276
BrowserModule,

tutorial/04-add-aad-auth.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ In this exercise you will extend the application from the previous exercise to s
2020

2121
1. Add the `MsalModule` to the `imports` array inside the `@NgModule` declaration, and initialize it with the app ID.
2222

23-
:::code language="typescript" source="../demo/graph-tutorial/src/app/app.module.ts" id="imports" highlight="5-9":::
23+
:::code language="typescript" source="../demo/graph-tutorial/src/app/app.module.ts" id="imports" highlight="6-11":::
2424

2525
## Implement sign-in
2626

@@ -111,7 +111,7 @@ In this section you'll create an authentication service and implement sign-in an
111111

112112
1. Open **./src/app/home/home.component.ts** and replace its contents with the following.
113113

114-
:::code language="typescript" source="snippets/snippets.ts" id="homeSnippet" highlight="3,12-19,21,23,25-27":::
114+
:::code language="typescript" source="snippets/snippets.ts" id="homeSnippet" highlight="3,12-19,21,23,25-32":::
115115

116116
Save your changes and refresh the browser. Click the **Click here to sign in** button and you should be redirected to `https://login.microsoftonline.com`. Login with your Microsoft account and consent to the requested permissions. The app page should refresh, showing the token.
117117

-4.37 KB
Loading
-811 Bytes
Loading

tutorial/images/add-msgraph-01.png

-6.21 KB
Loading

tutorial/images/create-app-01.png

-3.47 KB
Loading

tutorial/images/create-event.png

-5.73 KB
Loading

0 commit comments

Comments
 (0)