-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore(Demo): demo pages are all lazy loading
- Loading branch information
1 parent
b477b71
commit 02f73e5
Showing
86 changed files
with
1,317 additions
and
281 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
18 changes: 18 additions & 0 deletions
18
demo/app/components/autocomplete/autocomplete-routing.module.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
import { NgModule } from '@angular/core'; | ||
import { RouterModule, Routes } from '@angular/router'; | ||
|
||
import { AutocompleteComponent } from './autocomplete.component'; | ||
|
||
|
||
const routes: Routes = [ | ||
{ | ||
path: '', | ||
component: AutocompleteComponent, | ||
}, | ||
]; | ||
|
||
@NgModule({ | ||
imports: [RouterModule.forChild(routes)], | ||
exports: [RouterModule], | ||
}) | ||
export class AutocompleteRoutingModule { } |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
import { CommonModule } from '@angular/common'; | ||
import { NgModule } from '@angular/core'; | ||
import { FormsModule } from '@angular/forms'; | ||
|
||
import { TsAutocompleteModule } from '@terminus/ui/autocomplete'; | ||
import { TsCardModule } from '@terminus/ui/card'; | ||
import { TsCheckboxModule } from '@terminus/ui/checkbox'; | ||
import { TsSpacingModule } from '@terminus/ui/spacing'; | ||
|
||
import { AutocompleteRoutingModule } from './autocomplete-routing.module'; | ||
import { AutocompleteComponent } from './autocomplete.component'; | ||
|
||
@NgModule({ | ||
imports: [AutocompleteRoutingModule, CommonModule, FormsModule, TsAutocompleteModule, TsCheckboxModule, TsCardModule, TsSpacingModule], | ||
declarations: [AutocompleteComponent], | ||
}) | ||
export class AutocompleteModule {} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
import { NgModule } from '@angular/core'; | ||
import { RouterModule, Routes } from '@angular/router'; | ||
|
||
import { AutofocusComponent } from './autofocus.component'; | ||
|
||
|
||
const routes: Routes = [ | ||
{ | ||
path: '', | ||
component: AutofocusComponent, | ||
}, | ||
]; | ||
|
||
@NgModule({ | ||
imports: [RouterModule.forChild(routes)], | ||
exports: [RouterModule], | ||
}) | ||
export class AutofocusRoutingModule { } |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
import { CommonModule } from '@angular/common'; | ||
import { NgModule } from '@angular/core'; | ||
import { FormsModule } from '@angular/forms'; | ||
|
||
import { TsAutofocusModule } from '@terminus/ui/autofocus'; | ||
import { TsCardModule } from '@terminus/ui/card'; | ||
import { TsSelectModule } from '@terminus/ui/select'; | ||
import { TsSpacingModule } from '@terminus/ui/spacing'; | ||
|
||
import { AutofocusRoutingModule } from './autofocus-routing.module'; | ||
import { AutofocusComponent } from './autofocus.component'; | ||
|
||
@NgModule({ | ||
imports: [AutofocusRoutingModule, CommonModule, FormsModule, TsAutofocusModule, TsCardModule, TsSelectModule, TsSpacingModule], | ||
declarations: [AutofocusComponent], | ||
}) | ||
export class AutofocusModule {} |
18 changes: 18 additions & 0 deletions
18
demo/app/components/breakpoints/breakpoints-routing.module.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
import { NgModule } from '@angular/core'; | ||
import { RouterModule, Routes } from '@angular/router'; | ||
|
||
import { BreakpointsComponent } from './breakpoints.component'; | ||
|
||
|
||
const routes: Routes = [ | ||
{ | ||
path: '', | ||
component: BreakpointsComponent, | ||
}, | ||
]; | ||
|
||
@NgModule({ | ||
imports: [RouterModule.forChild(routes)], | ||
exports: [RouterModule], | ||
}) | ||
export class BreakpointsRoutingModule { } |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
import { CommonModule } from '@angular/common'; | ||
import { NgModule } from '@angular/core'; | ||
|
||
import { TsCardModule } from '@terminus/ui/card'; | ||
|
||
import { BreakpointsRoutingModule } from './breakpoints-routing.module'; | ||
import { BreakpointsComponent } from './breakpoints.component'; | ||
|
||
@NgModule({ | ||
imports: [BreakpointsRoutingModule, CommonModule, TsCardModule ], | ||
declarations: [BreakpointsComponent], | ||
}) | ||
export class BreakpointsModule {} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
import { NgModule } from '@angular/core'; | ||
import { RouterModule, Routes } from '@angular/router'; | ||
|
||
import { ButtonComponent } from './button.component'; | ||
|
||
|
||
const routes: Routes = [ | ||
{ | ||
path: '', | ||
component: ButtonComponent, | ||
}, | ||
]; | ||
|
||
@NgModule({ | ||
imports: [RouterModule.forChild(routes)], | ||
exports: [RouterModule], | ||
}) | ||
export class ButtonRoutingModule { } |
Oops, something went wrong.