🆒 Your use case
I beleive this is a Nuxt edge case for .env, but end user needs to specify an empty key for the .env override to do anything, i.e:
exportdefaultdefineNuxtConfig({scripts: {registry: {googleAnalytics: true,}},// you need to provide a runtime config to access the environment variablesruntimeConfig: {public: {scripts: {googleAnalytics: {// .env// NUXT_PUBLIC_SCRIPTS_GOOGLE_ANALYTICS_ID=<your-id>id: '',},},},},})🆕 The solution you'd like
We should try and see if we can drop the need for this runtimeConfig as it's quite verbose.
🔍 Alternatives you've considered
No response
ℹ️ Additional info
No response
🆒 Your use case
I beleive this is a Nuxt edge case for .env, but end user needs to specify an empty key for the .env override to do anything, i.e:
🆕 The solution you'd like
We should try and see if we can drop the need for this runtimeConfig as it's quite verbose.
🔍 Alternatives you've considered
No response
ℹ️ Additional info
No response