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
bfcache Issue after adding i18n module #2876
Labels
Comments
This seems to be caused by I recommend opening an issue on the Nuxt repo as there isn't much we can do about this here. |
But what about this PR in nuxt repo. |
I tried disabeling |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Environment
Linux
v20.11.1
3.11.1
3.11.1
2.9.4
[email protected]
-
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: