Nuxt 2 reached end of life on 30 June 2024
It no longer receives bug fixes or security patches. Upgrade to Nuxt 4 or get extended support from HeroDevs
RuntimeConfig properties
Runtime config allows passing dynamic config and environment variables to the nuxt context.
For more information of usage, please see runtime config guide
publicRuntimeConfig
- Type:
Object
Value of this object is accessible from both client and server using $config.
privateRuntimeConfig
- Type:
Object
Value of this object is accessible from server only using $config. Overrides publicRuntimeConfig for server.