Skip to content

Commit ed662a5

Browse files
committed
Import SharedModule on App and Tutorials modules
1 parent a78c9f5 commit ed662a5

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

src/app/app.module.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,15 +5,16 @@ import { AppComponent } from './app.component';
55
import { AppRoutingModule } from './app.router';
66
import { LayoutComponent } from './shared/layout/layout.component';
77
import { RouterModule } from '@angular/router';
8+
import { SharedModule } from './shared/shared.module';
89

910
@NgModule({
1011
declarations: [
1112
AppComponent,
12-
LayoutComponent
1313
],
1414
imports: [
1515
AppRoutingModule,
1616
BrowserModule,
17+
SharedModule,
1718
],
1819
providers: [],
1920
bootstrap: [AppComponent]

src/app/tutorials/tutorials.module.ts

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,12 +2,15 @@ import { NgModule } from '@angular/core';
22
import { CommonModule } from '@angular/common';
33
import { TutorialsComponent } from './tutorials.component';
44
import { TutorialsRoutingModule } from './tutorials.router';
5+
import { InputComponent } from './input/input.component';
6+
import { SharedModule } from '../shared/shared.module';
57

68
@NgModule({
79
imports: [
810
CommonModule,
911
TutorialsRoutingModule,
12+
SharedModule,
1013
],
11-
declarations: [TutorialsComponent]
14+
declarations: [TutorialsComponent, InputComponent],
1215
})
1316
export class TutorialsModule { }

0 commit comments

Comments
 (0)