You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
(I've provided a Fork of the "Reproduction starter" since Stackblitz doesn't seem to support redirects)
Describe the bug
When SSR is turned off and strategy: 'prefix' is used together with redirectOn: 'no prefix' the redirect on initial page loads fails & displays a "404 Page not found" error.
This only happens for non-index pages. To trigger the error in the Reproduction visit http://localhost:3000/other. The URL in the address bar does change to http://localhost:3000/en/other but application crashes and displays "Page not found: /other" error.
Additional context
No response
Logs
No response
The text was updated successfully, but these errors were encountered:
Environment
Darwin
v20.15.1
3.12.3
3.12.0
2.9.7
[email protected]
-
modules
,devtools
,ssr
,i18n
@nuxtjs/[email protected]
-
Reproduction
https://github.com/alexblunck/nuxt-i18n-bug-reproduction
(I've provided a Fork of the "Reproduction starter" since Stackblitz doesn't seem to support redirects)
Describe the bug
When SSR is turned off and
strategy: 'prefix'
is used together withredirectOn: 'no prefix'
the redirect on initial page loads fails & displays a "404 Page not found" error.This only happens for non-index pages. To trigger the error in the Reproduction visit
http://localhost:3000/other
. The URL in the address bar does change tohttp://localhost:3000/en/other
but application crashes and displays "Page not found: /other" error.Additional context
No response
Logs
No response
The text was updated successfully, but these errors were encountered: