Skip to content

No/insufficient documentation on accessing getters from other namespaced modules #1734

Open
@peerhenry

Description

@peerhenry

Version

4.0.0-beta.1

Reproduction link

https://vuex.vuejs.org/guide/getters.html

Steps to reproduce

Go to https://vuex.vuejs.org/guide/getters.html

What is expected?

An example/explanation of how to access getters from another namespaced module.

What is actually happening?

There is no explanation.


Only once I did a console.log of rootGetters was I able to see that getters from other namespaced modules had to be accessed by:

rootGetters['<othermodulename>/<getter>']

Please provide this information in the documentation.

Metadata

Metadata

Assignees

No one assigned

    Labels

    4.xdocumentationImprovements or additions to documentation

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions