Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Namespaced Vuex modules with Folder structure possible? #139

Open
DFSebastian opened this issue Apr 27, 2021 · 0 comments
Open

Namespaced Vuex modules with Folder structure possible? #139

DFSebastian opened this issue Apr 27, 2021 · 0 comments

Comments

@DFSebastian
Copy link

DFSebastian commented Apr 27, 2021

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant