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'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 and es. 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 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
The text was updated successfully, but these errors were encountered: