"This page could not be found" with the default (empty) settings

tats-u
0
tats-u
commented 3 months ago

Version

v6.1.3

Reproduction link

https://github.com/tats-u/nuxt-ts-vuetify-i18n-test

Steps to reproduce

git clone https://github.com/tats-u/nuxt-ts-vuetify-i18n-test.git -b i18n-empty-settings
yarn run dev
chrome http://localhost:3000/
# or firefox http://localhost:3000/

What is expected ?

Page is successfully rendered
or maybe proper error message (e.g. "Prepare translations" or "Set default locales") shown

What is actually happening?

This page could not be found (rendered by Nuxt)

Additional comments?

  • It works correctly without nuxt-i18n.
  • Do you update the version selecting pull-down menu? It stops at v5.3.0.
bug
0
rchl
578
rchl
commented 3 months ago

Seems to be due to the fact that you haven't specified any locales.

It would probably make sense to just leave original routes if no locales are specified…

0
tats-u
0
tats-u
commented 3 months ago

Seems to be due to the fact that you haven't specified any locales.

I believe so because because the page was successfully rendered after I set up nuxt-i18n properly. Any behaviors other than the current one are welcome.

It would probably make sense to just leave original routes if no locales are specified…

It doesn't matter to me whether nuxt-i18n ignores absence of locales or encourages the developers to set up by raising an error.

0
Informations
Bug ReportOpen
#c299 - Created 3 months ago