We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Linux
v20.11.1
3.11.1
2.9.4
pnpm@8.15.5
-
devtools
https://stackblitz.com/edit/github-jjkr5f
I was researching a lot today about that issue. 🔍
I assume that the issue comes from nuxt i18n module.
So I created a empty nuxt/vite project with that command: pnpm dlx nuxi@latest init <project-name>
pnpm dlx nuxi@latest init <project-name>
Testing this in preview mode is important because Vite is opening a WebSocket in dev mode, which can also cause an issue with bfcache.
So the steps for testing are:
Result:
Somehow I assume it has something to do with detectBrowserLanguage function. But not sure about that. 😕
detectBrowserLanguage
Can someone reproduce or confirm? I hope I am wrong.
No response
The text was updated successfully, but these errors were encountered:
This seems to be caused by useCookie provided by Nuxt (which is used by @nuxtjs/i18n), I modified your reproduction to demonstrate here.
useCookie
@nuxtjs/i18n
I recommend opening an issue on the Nuxt repo as there isn't much we can do about this here.
Sorry, something went wrong.
But what about this PR in nuxt repo. It should fix that problem?
I tried disabeling detectBrowserLanguage but problem seems to persist.
@BrocksiNet have you found any workaround?
No branches or pull requests
Environment
Linux
v20.11.1
3.11.1
3.11.1
2.9.4
pnpm@8.15.5
-
devtools
-
-
Reproduction
https://stackblitz.com/edit/github-jjkr5f
Describe the bug
I was researching a lot today about that issue. 🔍
I assume that the issue comes from nuxt i18n module.
So I created a empty nuxt/vite project with that command:
pnpm dlx nuxi@latest init <project-name>
Testing this in preview mode is important because Vite is opening a WebSocket in dev mode, which can also cause an issue with bfcache.
So the steps for testing are:
Result:
Somehow I assume it has something to do with
detectBrowserLanguage
function. But not sure about that. 😕Can someone reproduce or confirm? I hope I am wrong.
Additional context
No response
Logs
No response
The text was updated successfully, but these errors were encountered: