Skip to content

Commit 3d2a063

Browse files
author
Alexander Vakrilov
authored
Merge pull request NativeScript#585 from NativeScript/router-snippet-fix
Snippets tag fixed
2 parents 876dd6d + 5aaec2f commit 3d2a063

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

Diff for: tests/app/snippets/navigation/config-snippets.ts

+5-3
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,8 @@ export const routes = [
1313
];
1414
// << router-config
1515

16-
// >> router-provider and bootstrap
17-
import { NativeScriptRouterModule, platformNativeScriptDynamic } from "nativescript-angular";
16+
// >> router-provider
17+
import { NativeScriptRouterModule } from "nativescript-angular";
1818

1919
@NgModule({
2020
bootstrap: [GroceriesApp],
@@ -23,9 +23,11 @@ import { NativeScriptRouterModule, platformNativeScriptDynamic } from "nativescr
2323
NativeScriptRouterModule.forRoot(routes)
2424
]
2525
})
26-
export class GroceriesAppModule {}
26+
export class GroceriesAppModule { }
2727
// << router-provider
2828

29+
// >> router-bootstrap
30+
import { platformNativeScriptDynamic } from "nativescript-angular";
2931
// >> (hide)
3032
function start_snippet() {
3133
// << (hide)

0 commit comments

Comments
 (0)