We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
.
{ i18n: { strategy: 'prefix_except_default', defaultLocale: 'zh', locales: ['zh', 'en'] } }
{ content: { locales: ['zh', 'en'], defaultLocale: 'zh', } }
When my address is http://localhost:3000/en/doc/tutorial/getting , queryContent cannot find the document
http://localhost:3000/en/doc/tutorial/getting
queryContent
const localePath = useLocalePath() const route = useRoute() const { data: articles } = await useAsyncData('page-doc', () => queryContent<CommonParsedContent>(localePath(route.path)).findOne() )
What I can guarantee is that the output of localPath(route. path) is en/doc/tutorial/getting started
en/doc/tutorial/getting started
No response
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Environment
Reproduction
.
Describe the bug
i18n config
content config
Problem Description
When my address is
http://localhost:3000/en/doc/tutorial/getting
,queryContent
cannot find the documentWhat I can guarantee is that the output of localPath(route. path) is
en/doc/tutorial/getting started
Directory structure
Additional context
No response
Logs
No response
The text was updated successfully, but these errors were encountered: