-
To Reproduce
My api/search/route.ts question 1: using simplified chinese, won't show result, no error in the yarn dev console. Do i need to configure something else as mentioned in the sample code? question 2: i need to use traditional chinese, modifying this won't give me search result either. export const { GET, search } = createFromSource(source, undefined, { THANKS. |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 5 replies
-
Hmm mind to provide a reproduction (e.g. GitHub repo)? |
Beta Was this translation helpful? Give feedback.
-
Hi fuma-nama I figure out I didn't successfully enabled i18n for the project. (I just followed the guide to "enable" the "search") Thank you for your example! To share with whoever new to fumadocs like me.
|
Beta Was this translation helpful? Give feedback.
-
Hi fuma When yarn build, api/search/route.ts will cause By removing search from yarn build will succeed and it seems running fine. Does the removal have any side effect ? Thanks. |
Beta Was this translation helpful? Give feedback.
not sure what caused the problem, I made a working example:
https://github.com/fuma-nama/fumadocs-chinese-example