When using a value coming from .env in privateRuntimeConfig
it works correctly, however when changing pages
it becomes undefined
, does anyone know why this behavior?
Asked
Active
Viewed 192 times
0

Gabriel Caiana
- 61
- 2
- 6
-
1Hi, please show use some code. Also, give a read to this one: https://stackoverflow.com/a/67705541/8816585 – kissu Nov 09 '21 at 10:13
-
As a reminder, `privateRuntimeConfig` is available on **server only** as stated here: https://nuxtjs.org/docs/configuration-glossary/configuration-runtime-config/#privateruntimeconfig – kissu Nov 09 '21 at 10:14
-
Please provide enough code so others can better understand or reproduce the problem. – Community Nov 09 '21 at 21:23