@@ -5,18 +5,19 @@ import { NativeScriptRouterModule } from '@nativescript/angular';
55import { HomeComponent } from './home.component' ;
66
77const routes : Routes = [
8- { path : '' , redirectTo : '/home' , pathMatch : 'full' } ,
9- { path : 'home' , component : HomeComponent } ,
10- { path : 'canvas' , loadChildren : ( ) => import ( './plugin-demos/canvas.module' ) . then ( m => m . CanvasModule ) } ,
11- { path : 'canvas-babylon' , loadChildren : ( ) => import ( './plugin-demos/canvas-babylon.module' ) . then ( m => m . CanvasBabylonModule ) } ,
12- { path : 'canvas-chartjs' , loadChildren : ( ) => import ( './plugin-demos/canvas-chartjs.module' ) . then ( m => m . CanvasChartjsModule ) } ,
13- { path : 'canvas-media' , loadChildren : ( ) => import ( './plugin-demos/canvas-media.module' ) . then ( m => m . CanvasMediaModule ) } ,
14- { path : 'canvas-phaser' , loadChildren : ( ) => import ( './plugin-demos/canvas-phaser.module' ) . then ( m => m . CanvasPhaserModule ) } ,
15- { path : 'canvas-phaser-ce' , loadChildren : ( ) => import ( './plugin-demos/canvas-phaser-ce.module' ) . then ( m => m . CanvasPhaserCeModule ) } ,
16- { path : 'canvas-pixi' , loadChildren : ( ) => import ( './plugin-demos/canvas-pixi.module' ) . then ( m => m . CanvasPixiModule ) } ,
17- { path : 'canvas-polyfill' , loadChildren : ( ) => import ( './plugin-demos/canvas-polyfill.module' ) . then ( m => m . CanvasPolyfillModule ) } ,
18- { path : 'canvas-svg' , loadChildren : ( ) => import ( './plugin-demos/canvas-svg.module' ) . then ( m => m . CanvasSvgModule ) } ,
19- { path : 'canvas-three' , loadChildren : ( ) => import ( './plugin-demos/canvas-three.module' ) . then ( m => m . CanvasThreeModule ) }
8+ { path : '' , redirectTo : '/home' , pathMatch : 'full' } ,
9+ { path : 'home' , component : HomeComponent } ,
10+ { path : 'audio-context' , loadChildren : ( ) => import ( './plugin-demos/audio-context.module' ) . then ( ( m ) => m . AudioContextModule ) } ,
11+ { path : 'canvas' , loadChildren : ( ) => import ( './plugin-demos/canvas.module' ) . then ( ( m ) => m . CanvasModule ) } ,
12+ { path : 'canvas-babylon' , loadChildren : ( ) => import ( './plugin-demos/canvas-babylon.module' ) . then ( ( m ) => m . CanvasBabylonModule ) } ,
13+ { path : 'canvas-chartjs' , loadChildren : ( ) => import ( './plugin-demos/canvas-chartjs.module' ) . then ( ( m ) => m . CanvasChartjsModule ) } ,
14+ { path : 'canvas-media' , loadChildren : ( ) => import ( './plugin-demos/canvas-media.module' ) . then ( ( m ) => m . CanvasMediaModule ) } ,
15+ { path : 'canvas-phaser' , loadChildren : ( ) => import ( './plugin-demos/canvas-phaser.module' ) . then ( ( m ) => m . CanvasPhaserModule ) } ,
16+ { path : 'canvas-phaser-ce' , loadChildren : ( ) => import ( './plugin-demos/canvas-phaser-ce.module' ) . then ( ( m ) => m . CanvasPhaserCeModule ) } ,
17+ { path : 'canvas-pixi' , loadChildren : ( ) => import ( './plugin-demos/canvas-pixi.module' ) . then ( ( m ) => m . CanvasPixiModule ) } ,
18+ { path : 'canvas-polyfill' , loadChildren : ( ) => import ( './plugin-demos/canvas-polyfill.module' ) . then ( ( m ) => m . CanvasPolyfillModule ) } ,
19+ { path : 'canvas-svg' , loadChildren : ( ) => import ( './plugin-demos/canvas-svg.module' ) . then ( ( m ) => m . CanvasSvgModule ) } ,
20+ { path : 'canvas-three' , loadChildren : ( ) => import ( './plugin-demos/canvas-three.module' ) . then ( ( m ) => m . CanvasThreeModule ) } ,
2021] ;
2122
2223@NgModule ( {
0 commit comments