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

如何提交问题或文档贡献? 在 GitHub 编辑此页面!