The first time I used astro, I didn't know much about the concept of server-side framework.
Could you help me popularize science?
This command should be executed at build to modify files under dist, not src ?
My guess is that astro uses pages for routing and ignores dist, so I need to modify the src directory, so I need to execute generate before run build.
How do I make it execute on build, Is this order okay?
`build`: 'pnpm run astro-i18next generate build '
When I use multiple languages, the path of the request changes, because I need to serve, right? Do I have to turn on ssr? How to configure it, please? When I use multiple languages, the path of the request changes, because I need to serve, right? Do I have to turn on ssr? How to configure it, please?
Thank you
I'm not a maintainer, but some sort of solution for this seems to be planned for the 1.0.0 release. I'd suggest closing this issue as it is a duplicate of #110 (referenced in the roadmap).
The first time I used astro, I didn't know much about the concept of server-side framework. Could you help me popularize science?
This command should be executed at build to modify files under dist, not src ? My guess is that astro uses pages for routing and ignores dist, so I need to modify the src directory, so I need to execute generate before run build.
How do I make it execute on build, Is this order okay?
When I use multiple languages, the path of the request changes, because I need to serve, right? Do I have to turn on ssr? How to configure it, please? When I use multiple languages, the path of the request changes, because I need to serve, right? Do I have to turn on ssr? How to configure it, please? Thank you