Open yassinedoghri opened 1 year ago
This should be done using injectRoute function in the astro:config:setup to inject localized routes during build time.
It sounds like astro-18n-aut’s approach, doesn’t it?
Hi! I just discovered your plugin, this feature is to me the missing puzzle piece to make this plugin the reference for i18n with Astro.
How can I help?
This should be done using injectRoute function in the
astro:config:setup
to inject localized routes during build time. The generate CLI tool would most probably be discarded.pages
folder wouldn't need to include localized pages anymore!Alternative Create a Vite plugin and adding it to the astro:config:setup hook.