File tree Expand file tree Collapse file tree 2 files changed +6
-2
lines changed Expand file tree Collapse file tree 2 files changed +6
-2
lines changed Original file line number Diff line number Diff line change @@ -5,15 +5,16 @@ import { AppComponent } from './app.component';
5
5
import { AppRoutingModule } from './app.router' ;
6
6
import { LayoutComponent } from './shared/layout/layout.component' ;
7
7
import { RouterModule } from '@angular/router' ;
8
+ import { SharedModule } from './shared/shared.module' ;
8
9
9
10
@NgModule ( {
10
11
declarations : [
11
12
AppComponent ,
12
- LayoutComponent
13
13
] ,
14
14
imports : [
15
15
AppRoutingModule ,
16
16
BrowserModule ,
17
+ SharedModule ,
17
18
] ,
18
19
providers : [ ] ,
19
20
bootstrap : [ AppComponent ]
Original file line number Diff line number Diff line change @@ -2,12 +2,15 @@ import { NgModule } from '@angular/core';
2
2
import { CommonModule } from '@angular/common' ;
3
3
import { TutorialsComponent } from './tutorials.component' ;
4
4
import { TutorialsRoutingModule } from './tutorials.router' ;
5
+ import { InputComponent } from './input/input.component' ;
6
+ import { SharedModule } from '../shared/shared.module' ;
5
7
6
8
@NgModule ( {
7
9
imports : [
8
10
CommonModule ,
9
11
TutorialsRoutingModule ,
12
+ SharedModule ,
10
13
] ,
11
- declarations : [ TutorialsComponent ]
14
+ declarations : [ TutorialsComponent , InputComponent ] ,
12
15
} )
13
16
export class TutorialsModule { }
You can’t perform that action at this time.
0 commit comments