Skip to content

Commit

Permalink
fix(templates:angular): add module dependencies to angular templates, #…
Browse files Browse the repository at this point in the history
  • Loading branch information
ViktorSlavov committed Jul 24, 2018
1 parent fdbf8c4 commit 6dd15cd
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 2 deletions.
3 changes: 2 additions & 1 deletion templates/angular/igx-ts/carousel/default/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,8 @@ class IgxCarouselTemplate extends IgniteUIForAngularTemplate {
this.name = "Carousel";
this.description = "Basic IgxCarousel";
this.dependencies = [
{ import: "IgxCarouselModule", from: "igniteui-angular" }
{ import: "IgxCarouselModule", from: "igniteui-angular" },
{ import: "CommonModule", from: "@angular/common"}
];
}
}
Expand Down
9 changes: 8 additions & 1 deletion templates/angular/igx-ts/list/default/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,14 @@ class IgxListTemplate extends IgniteUIForAngularTemplate {
this.description = "Basic IgxList";
this.dependencies = [{
from: "igniteui-angular",
import: ["IgxListModule", "IgxAvatarModule", "IgxIconModule", "IgxInputGroupModule", "IgxFilterModule"]
import: ["IgxListModule", "IgxAvatarModule", "IgxIconModule",
"IgxInputGroupModule", "IgxFilterModule"]
}, {
from: "@angular/common",
import: ["CommonModule"]
}, {
from: "@angular/forms",
import: ["FormsModule"]
}];
}
}
Expand Down
3 changes: 3 additions & 0 deletions templates/angular/igx-ts/tabbar/default/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,9 @@ class IgxBottomNavTemplate extends IgniteUIForAngularTemplate {
this.dependencies = [{
from: "igniteui-angular",
import: ["IgxBottomNavModule", "IgxAvatarModule", "IgxIconModule", "IgxRippleModule"]
}, {
from: "@angular/common",
import: "CommonModule"
}];
}
}
Expand Down

0 comments on commit 6dd15cd

Please sign in to comment.