Skip to content
This repository was archived by the owner on Nov 17, 2022. It is now read-only.

add section about createFrameOnBootstrap #1243

Merged
merged 1 commit into from
Jul 18, 2018
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 10 additions & 0 deletions docs/core-concepts/angular-navigation.md
Original file line number Diff line number Diff line change
Expand Up @@ -182,3 +182,13 @@ So, instead of:

You do:
{%snippet router-params-page-route%}

## Application Without Page Router Outlet

In some cases, you might want to create an application without using `page-router-outlet`. To achieve that with nativescript-angular version 6 and above an additional bootstrap parameter called `createFrameOnBootstrap` must be provided to create a `Frame` during the bootstrapping.

app/main.ts
```TypeScript
platformNativeScriptDynamic({ createFrameOnBootstrap: true }).bootstrapModule(AppModule);

```