Want to take a look at our new docs? Our new docs are now in beta. Have fun!

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.

Contributors

Contribution for this page is now closed. If you would like to contribute please check out our new docs are now in beta. Have fun!

Platinum Sponsors

StoryblokMoovweb Support Us