-
-
Notifications
You must be signed in to change notification settings - Fork 483
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Support different domains config at runtime #2443
Comments
I also need this behavior and have a WIP patch. It allows overriding a locale's domain at runtime by setting the |
Resolved by #2446! |
I think I missed something in the setup or maybe it's not working at all. When I build my project with an certain To reproduce: 1/ edit your
2/ clone the project https://stackblitz.com/edit/bobbiegoede-nuxt-i18n-starter-jvph93?file=.template.env and
Everything works fine, the domain is correctly mapped to the locale 3/ with the same .env file, Everything works fine as in dev mode. 4/ update the
5/ run the previous build with the new values without rebuilding it What am I missing? 🤔 |
I think it needs to be reopened or to provide a fully working project |
I suspect this issue is not fixed. |
…modules#2446) * feat: set locale domains via runtimeConfig (nuxt-modules#2443) * docs: add example of runtime domain configuration to the guide
Describe the feature
One build to rule them all!
A good practice is to be able to deliver a project on a staging or prod environment just but changing some environment variables. It would be nice to have the ability to set the related domain for a locale at runtime level.
Additional information
Final checks
The text was updated successfully, but these errors were encountered: