Replies: 3 comments 1 reply
-
Hello, did you find a solution? |
Beta Was this translation helpful? Give feedback.
-
idk if it's correct, but after add to vue files (e.g. [lang]/index.vue) this code: onServerPrefetch(async () => { vite-ssg started to build static pages in properly language. |
Beta Was this translation helpful? Give feedback.
-
The issue with using the [lang] folder in my case is that I did not want the default language to have a prefix. Look at my solution in the fork. https://github.com/samkanje/vitesse-multilanguage-tailwind |
Beta Was this translation helpful? Give feedback.
-
This is by far my favourite vue3 template. However I miss having language specific URLs (e.g. /zh/* or /es/*).
How could I achieve this such that the generated pages are optimized for multilanguage SEO? Also, could it be an option to include this by default so that changing the lanugage also changes the URL?
Thank you.
Beta Was this translation helpful? Give feedback.
All reactions