Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Multiple navigators doesn't work #80

Open
@butaminas

Description

@butaminas

My stack:

✔ Component nativescript has 7.2.0
✔ Component @nativescript/core has 7.3.0
✔ Component @nativescript/ios has 7.2.0
✔ Component @nativescript/android has 7.0.1
 

First of all, I think the docs on how to use Multiple navigators are misleading.

Vue doesn't support multiple root elements and since we are using Nativescript-vue rather than Vue, there should be more info on how to properly use this.

my app.js looks like this:

importRootfrom'./components/experimental/Root'newVue({render:h=>h(Root),    store}).$start();

In the Root.vue I've tried wrapping navigators inPageFrame and many more tags but nothing seems to make bothNavigators work.
I use 2 navigators like this:

<NavigatordefaultRoute="/test1"/><Navigatorid="second"defaultRoute="/test2"/>

But it would only show content from 1 Navigator.

Also,this.$navigator.paths always shows an empty object.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions


      [8]ページ先頭

      ©2009-2025 Movatter.jp