nativescript drawer navigation angular – how to navigate?

Issue

I’m new in nativescript but have an experience in angular.
I’m using this template for my first app:

https://github.com/NativeScript/template-drawer-navigation-ng

I want to navigate inside module, example:
in /settings
i want:
/settings/card
/settings/general
etc…

When i create a component and put in setting component i don’t see the action-bar and i don’t know how to navigate.

I want able to navigate inside the components in the drawer.

Please can someone explain me how to achieve that?

Solution

You have to place a page-router-outlet inside your drawer content, then all your routes will get a ActionBar and loaded inside the content area.

Answered By – Manoj

Answer Checked By – David Marino (AngularFixing Volunteer)

Leave a Reply

Your email address will not be published.