Skip to content

Namespaced Vuex modules with Folder structure possible? #139

@DFSebastian

Description

@DFSebastian

Hi,
I get the following error in console when trying to use the namespaced syntax from the documentation combined with a folder.
TypeError: this.$store.getters[getterType] is not a function

I do have a parent folder "foo" where my store javascript files are.
I tried solving this by using

...mapFields('foo/brake', 
        [
            'item.diameter',
        ]
),

but this throws the error mentioned above. Is there any other aproach that I am missing?
Kind regards

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions