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

Vuex store is not loaded to client side app #198

Open
olegatermin opened this issue May 29, 2020 · 2 comments
Open

Vuex store is not loaded to client side app #198

olegatermin opened this issue May 29, 2020 · 2 comments

Comments

@olegatermin
Copy link

olegatermin commented May 29, 2020

Hello all,
I am developing a vue app using this plugin.
But store is not loaded to client side app, so I get "TypeError: Cannot read property 'state name' of undefined" when I use mapState of Vuex.
Plz help me.

@nathanaelphilip
Copy link

I’m having the same issue. @Akryum
I can see the data being loaded on the server side and even gets passed to the entry-client.js file. But the store.replaceState(window.__INITIAL_STATE__) call doesn’t seem to do anything.

@s-oehding
Copy link

s-oehding commented Jul 7, 2020

I'm also facing this issue,
in entry-client and entry-server state is as expected when but when I look in vue devTools my store looks like this:

0:"_"
1:"_"
10:"o"
11:"o"
12:"l"
13:"_"
14:"u"
15:"n"
16:"d"
17:"e"
18:"f"
19:"i"
2:"v"
20:"n"
21:"e"
22:"d"
23:"_"
24:"_"
3:"u"
4:"e"
5:"_"
6:"d"
7:"e"
8:"v"
9:"t"

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

3 participants