-
-
Notifications
You must be signed in to change notification settings - Fork 483
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
Cannot set property 'locale' of undefined #173
Comments
Same issue as in #166 My Nuxt config is:
I'm deploying with |
* Fix state not defined without SSR. * Add preserveState option. * Add docs. Fixes #173
So funny enough, this issue started happening after I installed Vue devtools beta 5 on Chrome. Went right away after I removed the extension. |
I have this issue too when clicking "load state" in Vue Devtools. |
@sustained Can you also check with v6.0.2 just to establish whether it's a recent regression or not? Also, where is |
[sustained@aurora nuxt-dynamic-markdown-example-project]$ cat node_modules/nuxt-i18n/package.json | grep '"version":'
"version": "6.0.2" |
Version
v5.3.0
Reproduction link
Steps to reproduce
when development mode it's ok, but when built and deployed it shown error.
What is expected ?
works properly
What is actually happening?
source code: https://github.com/nuxt-community/nuxt-i18n/blob/master/src/plugins/main.js#L41
state got
undefined
Additional comments?
Config:
deployed files: https://dev.tencent.com/u/willin/p/willin.wang/git/tree/master
The text was updated successfully, but these errors were encountered: