Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
f39d3ad
commit 9094c66
Showing
13 changed files
with
318 additions
and
58 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
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
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
14 changes: 14 additions & 0 deletions
14
demos/angular/src/app/no-routing-nav/no-routing-nav-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,14 @@ | ||
import { NgModule } from '@angular/core'; | ||
import { Routes, RouterModule } from '@angular/router'; | ||
|
||
import { NoRoutingNavPageComponent } from './no-routing-nav.component'; | ||
|
||
const routes: Routes = [ | ||
{ path: '', component: NoRoutingNavPageComponent } | ||
]; | ||
|
||
@NgModule({ | ||
imports: [RouterModule.forChild(routes)], | ||
exports: [RouterModule] | ||
}) | ||
export class NoRoutingNavRoutingModule { } |
20 changes: 20 additions & 0 deletions
20
demos/angular/src/app/no-routing-nav/no-routing-nav.component.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,20 @@ | ||
import { Component } from '@angular/core'; | ||
|
||
import { PageOne } from './pages/page-one'; | ||
|
||
@Component({ | ||
selector: 'app-nav-page', | ||
template: ` | ||
<ion-app> | ||
<ion-nav [root]="pageOne"></ion-nav> | ||
</ion-app> | ||
` | ||
}) | ||
export class NoRoutingNavPageComponent { | ||
|
||
pageOne: any = PageOne; | ||
constructor() { | ||
|
||
} | ||
|
||
} |
31 changes: 31 additions & 0 deletions
31
demos/angular/src/app/no-routing-nav/no-routing-nav.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,31 @@ | ||
import { NgModule, CUSTOM_ELEMENTS_SCHEMA } from '@angular/core'; | ||
import { CommonModule } from '@angular/common'; | ||
|
||
import { NoRoutingNavPageComponent } from './no-routing-nav.component'; | ||
import { NoRoutingNavRoutingModule } from './no-routing-nav-routing.module'; | ||
import { IonicAngularModule } from '@ionic/angular'; | ||
|
||
import { PageOne } from './pages/page-one'; | ||
import { PageTwo } from './pages/page-two'; | ||
import { PageThree } from './pages/page-three'; | ||
|
||
@NgModule({ | ||
imports: [ | ||
CommonModule, | ||
NoRoutingNavRoutingModule, | ||
IonicAngularModule, | ||
], | ||
declarations: [ | ||
NoRoutingNavPageComponent, | ||
PageOne, | ||
PageTwo, | ||
PageThree | ||
], | ||
entryComponents: [ | ||
PageOne, | ||
PageTwo, | ||
PageThree | ||
], | ||
schemas: [CUSTOM_ELEMENTS_SCHEMA] | ||
}) | ||
export class NoRoutingNavModule { } |
Oops, something went wrong.