You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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
The text was updated successfully, but these errors were encountered:
🆒 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
The text was updated successfully, but these errors were encountered: