From a745be363be704ee07504dfd9622bacaadb5dda4 Mon Sep 17 00:00:00 2001 From: lm <85850748+duvior@users.noreply.github.com> Date: Wed, 13 Jul 2022 12:03:02 -0500 Subject: [PATCH] docs: improve runtimeConfig example (#5785) Co-authored-by: Daniel Roe --- docs/content/2.guide/2.features/10.runtime-config.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/content/2.guide/2.features/10.runtime-config.md b/docs/content/2.guide/2.features/10.runtime-config.md index 527363b761..0fdfc10e1c 100644 --- a/docs/content/2.guide/2.features/10.runtime-config.md +++ b/docs/content/2.guide/2.features/10.runtime-config.md @@ -54,9 +54,9 @@ NUXT_PUBLIC_API_BASE=https://nuxtjs.org ```ts [nuxt.config.ts] export default defineNuxtConfig({ runtimeConfig: { - apiSecret: '', + apiSecret: '', // can be overridden by NUXT_API_SECRET environment variable public: { - apiBase: '', // Or a default value + apiBase: '', // can be overridden by NUXT_PUBLIC_API_BASE environment variable } }, })