Closed vlamic closed 5 months ago
Thank you for your reporting!
I tried to disable nuxt-i18n module and reproduced this issue. So I faced same issue. I think this issue is nuxt content.
Please, check nuxt content docs agian. https://content.nuxt.com/
Thanks!
I also encountered the same problem as you, and then I cloned your project, and then I deleted the i18n configuration of the content, and then I visited the page, and the page can be accessed normally.
Environment
Reproduction
Hi,
I'm trying to setup a project which is driven by content and supports multiple languages, so I have created two dirs in my
content
folder:en
andes
. When I try to access the default routes (e.g. http://localhost:3000/ or http://localhost:3000/about), it loads the pages correctly. However, when I try to access non-default pages, it's not able to locate the content (e.g. http://localhost:3000/en/about or http://localhost:3000/en). Am I missing something?I have uploaded a sample project here: https://github.com/vlamic/content-app-test
Content structure:
Pages structure:
Nuxt config:
Thank you!
Describe the bug
It's not able to find the localized pages in the content folder.
Additional context
No response
Logs
No response