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

VueX store is unavailable on new pages #5

Closed
@mtancoigne

Description

@mtancoigne

Hi !

I use VueX to manage the app's state. It works fine on thedefaultPage but I can't navigate to views that uses it:

// Works on defaultPagecomputed:{isAuth(){returnthis.$store.getters.isAuth}}// This error shows up when trying to navigate to a page that does the same://   [Vue warn]: Error in render: "TypeError: Cannot read property 'getters' of undefined"// and the pages does not renders.

The whole$store object is not available to new views; I guess it also may be the same for other objects/plugins


  • navigator version: 0.0.3
  • nativescript: 5
  • nativescript-vue: 2.0.2
  • VueX: 3.0.1

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