Docs Hub

DownloadsLaravelLaravelLivewireLivewireAlpine.jsAlpine.jsNext.jsNext.jsVue.jsVue.jsZustandZustandNuxt.jsNuxt.jsFilamentFilamentVite.jsVite.jsNest.jsNest.jsBootstrapBootstrapTailwindCSSTailwindCSSدرحال بازسازی
ReactReact
راه های ارتباطی با ما

Docs Hub

Nuxt.jsNuxt.js
ModulesProgrammaticCompatibilityAutoimportsComponentsContextPagesLayoutHeadPluginsRuntime ConfigTemplatesNitroResolvingLoggingBuilderExamplesLayers
Nuxt ConfigOverview
Docs Hub

useRuntimeConfig

At build-time, it is possible to access the resolved Nuxt runtime config.

Type

ts
function useRuntimeConfig (): Record<string, unknown>

updateRuntimeConfig

It is also possible to update runtime configuration. This will be merged with the existing runtime configuration, and if Nitro has already been initialized it will trigger an HMR event to reload the Nitro runtime config.

Type

ts
function updateRuntimeConfig (config: Record<string, unknown>): void | Promise<void>