Repository navigation
Replies: 3 comments 1 reply
|
Hello, did you find a solution? |
0 replies
|
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. |
0 replies
|
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 |
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
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.
All reactions