Skip to content
This repository was archived by the owner on May 1, 2020. It is now read-only.

Commit 0df246a

Browse files
committed
refactor(deep-linking): update default NgModule to use IonicPageModule instead of DeepLinkModule
1 parent 68472a8 commit 0df246a

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

src/deep-linking/util.ts

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -357,16 +357,15 @@ export function generateDefaultDeepLinkNgModuleContent(pageFilePath: string, cla
357357

358358
return `
359359
import { NgModule } from '@angular/core';
360-
import { DeepLinkModule } from 'ionic-angular';
360+
import { IonicPageModule } from 'ionic-angular';
361361
import { ${className} } from './${importFrom}';
362362
363-
364363
@NgModule({
365364
declarations: [
366365
${className},
367366
],
368367
imports: [
369-
DeepLinkModule.forChild(${className})
368+
IonicPageModule.forChild(${className})
370369
]
371370
})
372371
export class ${className}Module {}

0 commit comments

Comments
 (0)